Grid-based clustering of markers in squares

279 views
Skip to first unread message

khaldoon

unread,
Feb 11, 2012, 10:06:37 AM2/11/12
to Google Maps JavaScript API v3
hi,
1- I want to cluster markers in a form of square...
2- How can i make a grid of specific city where each box is covering
5km distance?

geoco...@gmail.com

unread,
Feb 11, 2012, 12:25:09 PM2/11/12
to Google Maps JavaScript API v3
On Feb 11, 7:06 am, khaldoon <khaldoon.ma...@gmail.com> wrote:
> hi,
> 1- I want to cluster markers in a form of square...

You probably need to write code to do that, you might be able to
modify one of the existing clustering libraries to do that (or
convince the maintainer of one of those libraries to add that
functionality, if it isn't already there)

> 2- How can i make a grid of specific city where each box is covering
> 5km distance?

Here are examples of several different size squares:
http://www.geocodezip.com/v3_polygon_example_squares.html

-- Larry

davie

unread,
Feb 12, 2012, 6:02:35 AM2/12/12
to Google Maps JavaScript API v3
Hi
One approach is server side using MySQL and PHP

Regards Davie


On Feb 11, 5:25 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:

khaldoon

unread,
Feb 25, 2012, 2:36:52 PM2/25/12
to Google Maps JavaScript API v3
Thanks Larry!!! :)

On Feb 11, 5:25 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:

khaldoon

unread,
Feb 25, 2012, 2:39:55 PM2/25/12
to Google Maps JavaScript API v3
Do you also have some server side example? Can we add 5km distance
value to latitude and longitude value? thanks for great help

On Feb 11, 5:25 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages