The KML file is loading correctly (i.e. I can see the marker correctly), however what I wanted is to see map to be more "zoomed out" upon load. How will I do that?
Thanks!
The KML file is loading correctly (i.e. I can see the marker correctly), however what I wanted is to see map to be more "zoomed out" upon load. How will I do that?
Thanks!
Look at this page: KML / Google Map - Specifying the zoom level of an embeded map in an iFrame
The answer is from MikeD:
"You can control Google Map's display behaviour by the arguments you pass in the src of the iframe element - in your case by setting the "z" parameter - see here
simply make your iframe source as "http://maps.google.com/?ll=48.064372,16.348977&z=10" and change z=10 to any other higher (up to 20) or lower value (down to 0)
Alternatively, in the Maps API you would use the setCenter() function to set the zoom level"
Hope this is help you !