M
M
Mikhail Lyalin2019-09-05 16:52:49
Geolocation
Mikhail Lyalin, 2019-09-05 16:52:49

World map with details to the city and binding of your labels?

How can you implement a world map on your website:
- a minimal stack of technologies used
- scaling from a world map to the level of large cities
- linking your link labels for different levels of detail (i.e. some links are needed for the whole country, and which -they appear when you select a specific region, city ...)
- displaying link tags depending on the level of detail and indicating the presence of a more detailed level (i.e. links by country indicating the presence of regions, when moving to a region - displaying links by this region, when moving to the city - only in the city)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-09-05
@ber_enot

Look at the libraries:
Leaflet
OpenLayers
You can set the map source yourself (Yandex.Maps, Google Maps, OSM and any others).
You can add markers, polygons, popups, and anything else you want to the map.
PS. Worked with both libraries, in my experience I recommend Leaflet - less code and generally clearer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question