btw, that is only one approach.

Doing server side 'clustering' might be better suited (rather than
just picking a sample). There are various ways to do that.
https://www.google.com/search?q=server+side+clustering+google+maps

Or you can just outsource it
http://geocubes.com/
one of a few sites offering it :)


On Mon, Mar 5, 2012 at 2:17 PM, Barry Hunter <barrybhun...@gmail.com> wrote:
> Here is a map that does that
> http://wales.portal.geographs.org/map.php?view=thumbs
>
> Ok, that particular map is not using millions of markers, but the same
> technique works for bigger datasets. (I just dont have any big
> datasets using v3 of the maps api)
>
> The biggest issue is deciding which features to show as the 'sample'.
> Picking random works reasonably well. But there are more elaborate
> ways of doing it. You could perhaps pick the top rated (if your
> dataset has that)
>
> On Mon, Mar 5, 2012 at 1:58 PM, Henri Cammiade <henri.cammi...@gmail.com> 
> wrote:
>> Yes. Obviously it is pointless displaying markers in areas half way around
>> the world to the view port. The DB has millions of locations - what is the
>> best way to build the gmap for high performance of loading initial markers
>> and for loading additional markers on pan/zoom.
>>
>> Thanks
>>
>> On Mar 5, 2012 3:16 AM, "Rossko" <ros...@culzean.clara.co.uk> wrote:
>>>
>>> > I'd like to know what are the best strategies and practises to use
>>> > when building a google map that has millions of markers.
>>>
>>> Go back a step and re-examine your needs.  A viewer isn't goimg to get
>>> much value out of a map with millions of markers on it, so you could
>>> perhaps think about what you want to actually show at any given time
>>> (perhaps from an available pool of millions of markers)
>>>
>>> --
>>> 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.
>>>
>> --
>> 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.

-- 
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