Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 2 guests online

Affiliates



How can I set the default center for a map? PDF Print E-mail

The current development build and future releases now allows you to specify the latitude and longitude values that are used to center the map.    You can set the default center when editing a map as well as on a parameter on the mambot.

To set the default center on the map, just go to the GMaps control panel, select the map and then edit the maps properties.  Enter the latitude and longitude values.  These values will override any values returned by a marker.

Setting the default center via the mambot, on the mambot tag, you can use the following parameters:

  • centerlatitude
  • centerlongitude

An example tag would look something like ...

{mosgmap mapid=1|centerlatitude=39.673370|centerlongitude=-104.897461}

 

 

 
< Prev   Next >