in the onload event I want to load a google map to show the USA.
What values do I need to put in the options {}?
var myOptions = {
zoom: 4,
??????,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
Position it to the latitude and longitude of the USA, and adjust the zoom.
In most browsers after you search for a place on google maps, you can put
in the address bar to get the latitude and longitude coordinates
Or you can use reverse geocoding with a name like “USA” which would be something like this: