2a. What About Setting Another Zoom Level?
« Previous : Next
»
Code Snippets
Lower the number, the further out the zoom.
<script src="http://maps.google.com/maps?file=api
&v=2&key=[key]"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(40.266044,-74.718479), 3);
}
}
//]]>
</script>
The Resulting Map
|