A
A
Alliceinwonders2014-09-01 13:04:13
Google Maps
Alliceinwonders, 2014-09-01 13:04:13

What is the best way to place a large number of objects on Google Maps?

Please advise on several issues in the task:
it is necessary to place a large number of points on google maps with basic information about the object (name, contacts, several characteristics). The information is available in a structured form as a table. The goal is to analyze the geographical distribution of objects.
Is it possible to show on the map (for the end user) all the entered objects at the same time (to see the density of the objects)?
How to solve the problem with the fact that some of the objects can already be mapped by someone?
Is it possible to display objects in groups according to some filters, how to display them?
I apologize in advance for elementary questions, but I have not worked with maps in this vein before.
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Petrov, 2014-09-01
@Alliceinwonders

Clustering is built into Yandex Maps ( API , example ).
There is no built-in clusterer in Google maps, but there is a MarkerClusterer constructor .
However, the possibilities of working with maps are far from being exhausted, because:
1. It is possible (and often even necessary) to “feed” to clusterers only those objects that are visible (by corner coordinates or by tiles).
2. You can use special layers - KMLayer in Google ( example ) or active areas in Yandex ( API , example ).
Google Maps also has an work with the Data layer (API ).
For serious tasks, clustering is not as simple and unambiguous as what everyone starts with.
Here are a few articles on the subject (most of the stuff is still relevant today, despite the publication date)
: Part one
Clustering on the client or how to show 10000 then...

P
Pamarkin, 2014-09-03
@Pamarkin

Clustering is not required for geographic location analysis.
If the data is static, it's better to draw a tiled layer. It's easier and more efficient.
But in this case filtering is not possible. That is, it is possible, but it will require large server resources.
5 years ago I tested on 4 cores. 13-15 tiles per second were drawn. That is, one rendering server per 200 concurrent connections.
In general, you need a specific TK, then it makes sense to talk about something.

A
Alliceinwonders, 2014-09-03
@Alliceinwonders

The TOR at the moment looks like this:
1. it is necessary to place points with general information about school facilities on a public map.
2. it is necessary to be able to display all objects (from item 1) that are located on the territory displayed on the screen
3. users must be able to view the entered information about the object on the map without entering a separate service.
Thanks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question