Google Maps v3 [removed] geojson overlays city and country names

前端 未结 1 1713
傲寒
傲寒 2021-01-17 02:43

I´m adding some geojson data (polygon features) to a Google Map. Is it possible to add the geojson below the city and country names?

map.data.addGeoJson(data         


        
1条回答
  •  滥情空心
    2021-01-17 03:34

    The city and country names are on the map tiles.
    The GeoJSON data always appears over the map tiles.

    You can hide the city and country names on the map tiles using a Styled Map, then overlay your own versions of the city and country names over the GeoJSON layer.

    0 讨论(0)
提交回复
热议问题