Hi folks,

I'm new to JS and to Google maps, so go easy on me! (although not new
to coding)

I'm rapidly get my head around it, but one thing that I could do with a
bit of guidance on...

I've got a db that contains about 800 to a 1000 items with a lat-lon
for each one... I want to display them on a map, with a infowindow that
contains a link.... all good so far... got that working just fine, but
as you'd expect, creating 800 markers with an infowindow for each one
kills the client pretty comprehensively.... so I need to control how
many are displayed... i've started by creating a map with polygons and
event listeners that then create a new view with a reduced area, where
the number of markers is perhaps 40, which the client can handle just
fine... the problem however is as the bounds change, I need to add
additional markers and destroy old ones.... and this is where I need a
bit of guidance... I don't want any code... i'd rather do that myself,
as thats the quickest way for me to learn... what I do need is bit of
help on the approach to take...

If I load all 800 or so into the client, its a huge page to pull off
the server with the associated slow load time... even if I don't
display all the markers....Do I listen for bounds change and call
additional markers with a jquery? or is there a better way of doing
it?, and how do I control zoom? do I add another listener and then
force scale change when it goes past a certain zoom?... just a push in
the right direction would be great.... thanks!

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to