|
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 |
monotreme Smarty Regular
Joined: 22 Feb 2004 Posts: 97 Location: USA
|
Posted: Thu Feb 28, 2008 7:13 pm Post subject: GoogleMap API icons optimization suggestion. |
|
|
I have a map that nas a number of data points. I use custom pushpins that are color coded. I only have about a dozen different pin icons but several hundred locations. In the code that's generated it creates a new instance of GIcon for each point. It would seem to me like you could define all your pins ahead and then tell the app which one you want rather than having an array of markers and a parallel array of GIcons ..... would probably work faster.
I could do this myself or subclass the thing again, but subclassing is kind of messy and I like to stay compatible with 3rd party releases and anyway this seems like a generally useful optimization to do. Any chance of it on your horizon Montey or having me propose it to the addon? _________________ Your online 24/7 box office
http://www.tixrus.us |
|
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
|