I want to set the center of the map using Javascript.
I can only find code with markers in it, but I need client-side code for this:
GMap1.setCenter(latlng, zoomLevel, mapType );
I would like to do this (this is non-working code :-))
<script>
subgurim_GMap1.SetCenter(47.1, 2.3, 6)
</script>
If 47.1 and 2.3 are Lat / Lng, and 6 is the zoom level.
source
share