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 21 guests online

Affiliates



Community Forums

NOTE: Subscribers, please post in the SUBSCRIBER FORUMS - NOT IN THE COMMUNITY FORUMS

homepost replythreaded viewruleshelp
 
chardi
Fresh Boarder
 
Default lati & long for adding markers - 2008/09/06 08:53
Great component !

How to change the default latitude and longitude, zoom level, map size for adding markers.

When I create a new marker at the backend, there is a basic map which has DEFAULT map size, zoom level, default latitude and longitude, based on this map, I can drag the marker or input address, my question is that how can I change the DEFAULT location and setting, which file I should take a look at?

Thanks in advanced.
The administrator has disabled public write access.

support
Admin
 
Re:Default lati & long for adding markers - 2008/09/06 21:04
It probalby would be in a file called markercontroller.class.php and in the funciton submitMarker. Let me know if that isn't it.

Chris
The administrator has disabled public write access.

chardi
Fresh Boarder
 
Re:Default lati & long for adding markers - 2008/09/07 00:10
Deafult lati & long have been successfully changed, thanks a lot.

But... how to change the deafult zoom level at submit screen, I assume I can find this at mapcontroller.class, but looks like it takes default $zoom from somewhere else ....

By the way, what will zoom level setting at Configuration affect, since each map has their own zoom level setting, I will assume it won't affect that for each map, then which part it will affect? submit page? looks NO, marker manager? looks NO too, anywhere else .....

Post edited by: chardi, at: 2008/09/07 13:11
The administrator has disabled public write access.

support
Admin
 
Re:Default lati & long for adding markers - 2008/09/10 16:40
I think to change the zoom level go to the MarkerGuiEditor.class.php file. As for the zoom in the configuration, it is the default value used if the map doesn't specify a zoom level. Any questions, feel free to email me as it is easier for me to get to email than the forums.

Chris
The administrator has disabled public write access.