Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-06-2013, 06:09 AM #1
- Join Date
- Jul 2013
- Thanked 0 Times in 0 Posts
Google Maps API: MarkerClusterer not clustering and how to update markers w/ AJAX
The first problem I'm having is that I want to get a simple MarkerClusterer system in so the markers will cluster. I've added the scripts to my system, but they just don't cluster. When I used the data.json of the examples, the clustering worked; but getting the data into a variable using AJAX and using that doesn't seem to do a thing.
The second problem is that the markers are being added on top of each other periodically, rather than being updated. I'm guessing that in the simplest case I'll want to clear the old markers before adding the new ones, but whenever I try to add a solution proposed by others, all my markers disappear. So if someone could help out in being specific with my system, that'd be awesome.