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

GoogleMap API icons optimization suggestion.

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
monotreme
Smarty Regular


Joined: 22 Feb 2004
Posts: 97
Location: USA

PostPosted: Thu Feb 28, 2008 7:13 pm    Post subject: GoogleMap API icons optimization suggestion. Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP