Since you're dealing with less than a couple thousand markers you will
probably get better results by building an array of marker objects,
then loading them all at once with MarkerManager.

http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries
# (markermanager is down the list, there isn't really a good specific
link)

-- Stephen

On Apr 11, 8:49 am, bu_bruiser <timothy.mil...@l-3com.com> wrote:
> I am trying to load placemarks onto a map as quickly and efficiently
> as possible.  I've noted that loading approximately 325 placemarks
> takes somewhere between 1.5 and 2 seconds.  I've specifically tracked
> the delay to the assignment of a placemark to a map object (via
> MarkerOptions).  If I remove the line of code that assigns the
> placemark to a map, I can run through the creation of my list of
> placemarks in milliseconds; however, as soon as I uncomment the line
> that ties the placemark to a map, the delay begins to occur.
>
> I've looked for a way in the API to either disable the rendering of
> individual placemarks until all of my placemarks are created or some
> way to create placemarks on the map in batches; however, I could not
> see a way to do either.  I'm guessing that the delay could be tied to
> rendering all 325 placemarks one at a time rather than rendering them
> in a batch once.
>
> Has anyone else experienced similar issues?  Any ideas on how I might
> be able to resolve or work around this performance issue?
>
> Thanks in advance for the help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to