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
--
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-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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)
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 :)
Thanks,
Henri
So that is a fundermental limitation. It will also only render a
limited amount of data in a single tile (500 features?) - so in heavy
populated areas, features wont show.
(also 100Mb of data per table, and 250Mb per account. Which makes
working with large datasets hard.)
Also there isn't 'clustering' as such. It just tries to plot all
features. Although you do have the heatmap option, which is a sort of
clustering - but does end up obscuring the map with large datasets.
- I would say Fusion tables, is for small or medium datasets - not
large ones - currently.
(I use geocubes - with a dataset of 2.1M features, so that does scale
to large datasets! Note I am only a user, not an affiliate!)
And KML definitly wont cope with this - at least on Google Maps (1000
features is a practical limit - but can do slightly more). KML can
however be used for Google Earth - as can use regions to make a
SuperOverlay/SuperLayer.
So, if there were 1m rows for data points across the whole of the UK, but
only 50k in Cardiff then you would be able to select from the 1m rows to
create a view table with 50k rows then you would be able to display these on
the map.
https://groups.google.com/forum/?fromgroups#!topic/fusion-tables-users-group/385ig9FG3UM
Is that what Rebecca from this thread is suggesting or have I misread?
Because I've tried uploading 1.3 million rows to the fusion tables and its
well within the 100mb limit.
Thanks
>>>> To unsubscribe from this group, send email to
>>>> 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
>>> To unsubscribe from this group, send email to
>>> 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
> To unsubscribe from this group, send email to
> 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
> To unsubscribe from this group, send email to
> 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
| |||||||
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+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/AHE-VlbIp1sJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
To unsubscribe from this group, send email to mailto:google-maps-js-api-v3%2Bunsu...@googlegroups.com.
Hi Barry,Thanks for the reply - that's what I was trying to understand about the View tables using the Fusion api. I presume each time a View table gets created, it simply adds another table to your account quota (up to five tables)?
I have a database with over 1 million data points. 1 million markers would NEVER be needed to be mapped at one time. I'm seeking for a fast, high performance solution to a 'dynamic' display as you previously mentioned, where the user selects a location that the map centres and zooms on, then to grab the relevant results from the 1 million to then plot the markers. At most, only around 10k markers would ever be needed to be mapped.
Server side clustering.
Either will have to build or find a solution for your particular
database/language of choice
Or outsource it to the likes of geocubes. Or Google Builder may well do it
http://www.google.com/enterprise/earthmaps/builder.html
.. have no experience myself.