Google Maps Help - placing a city name above markers

I am using Google Maps v3.

I have many markers on my map, so many of them cover the name of the city from visibility on the underlined map.

Is it possible, and how, so that the name of the city is displayed above the markers?

For example, currently the layers are as follows.

Layer 1 - Map Markers (on top of map)
Layer 0 - Google Map (with city names rendered on map)

I would like:

Layer 2 - City name
Layer 1 - Map Markers
Layer 0 - Google Map (without city names displayed)
+3
source share
1 answer

City names are displayed on map snapshots, so it’s currently not possible to separate the two layers.

However, you might think:

  • Using different marker sizes for different zoom levels (using smaller markers when zooming out).
  • .
  • . Styled Maps API v3 . , , .
+3

Source: https://habr.com/ru/post/1759906/


All Articles