|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
zfreidus Smarty n00b
Joined: 05 Nov 2006 Posts: 4 Location: Boca Raton, FL
|
Posted: Fri Oct 26, 2007 2:01 am Post subject: GoogleMapApi Question |
|
|
I'm trying to plot multiple markers on a map, using different icons for each marker.
According to the documentation, setMarkerIcon should be used to set the icons for all markes and addMarkerIcon should be used to set just one.
I call $map->AddMarkerByAddress several times adding markers using the generic "red" google style marker.
Then I call $map->AddMarkerIcon to set a custom icon
Then I call $map->AddMarkerByAddress again
Then $map->printmap()
I would expect the first set of markers to be generic and the last one which is called after AddMarkIcon to use the custom icon.
However, what I'm finding is that when called in this sequence, they all show the custom icon.
Does anyone know the proper sequence/procedure to do this?
Thanks,
Zev Freidus
http://www.BocaExecutiveRealty.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|