MSG on Google Maps
Have just done my first version of overlaying geolocation info for MSG users onto Google Maps. At the moment it’s pretty rough and ready (only on my dev server), but seems to do the basics, eg changes the ‘pin’ when a users state changes. Quick screenshot here with users having different presence states:

Another problem for me to work on is how to ‘cluster’ users, as things stand with my map, users will only be clustered if they have exactly the same latitude and longitude – which fairly quickly starts to break down – on the image above there are several pins around Milton Keynes and it’s not really obvious exactly how many users are there – or whether there are more pins hidden behind the pins you can already see.
So I’m going to look to see how we can do the clustering more sensibly (perhaps at different resolutions of Google maps), this was solved quite well in BuddySpace, so I’m going to have a look at the algorithm used there (see the tech report on it) and see if I could apply the same algorithm, or if other algorithms have been developed in the last few years.











Hi
I want to do the clustering in Gmap.I didnt find algorithm on above link.Could you please provide with that or it wud b great if provide me some sample code.Waiting 4 ur Comments.
I’ve fixed the above link now (the KMi site was recently redesigned so some page had moved). You can also see the clustering library java code – note that the clustering we’re doing is all done server side (not through javascript on the client side).
A