Google Maps pro default location
How do I get the map's default location to be a province or state?
How do I get the map's default location to be a province or state?
add just the state name and country in the address information.
It still doesn't work. My page loads the default location to be USA instead of Canada even though all the addresses are Canadian.
Oh, I see, you mean the default address that is displayed if the address lookup failes.
in the map javascript file, you will see a line similar to:
if (wagmp_map_2_obj.addressFailed) {
map.setCenter(new GLatLng(30, -98), 3);
}
you can change the latitude and longitude in the GLatLng function to change where the map will center if the address lookup fails.
GLatLng(30, -98)
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.