This shows how to create a map with multiple markers. The map is automatically centered and the appropriate zoom level is set to include all markers.
It also shows how you can pass a name and URL to display a hyperlinked title in the marker.