Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 1 match
Smarty Forum Index
Author Message
  Topic: [GoogleMapAPI] Adding marker to a different position

Replies: 1
Views: 6972

PostForum: Add-ons   Posted: Thu Oct 08, 2009 4:39 pm   Subject: [GoogleMapAPI] Adding marker to a different position

You can call adjustCenterCoords($lon, $lat) after you've added your markers:

$map->adjustCenterCoords($new_lon, $new_lat);

Where $new_lon and $new_lat are where you want the center ...
Page 1 of 1
All times are GMT
Jump to:  

Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP