Gmaps labels of big countries

In recent days, I noticed that Google has added shortcuts to large countries to Gmaps (http://d.pr/i/JAsN).

Can only these tags be deleted?

I tried

featureType: "administrative.country", stylers: [ { visibility: "off" } ] } 

But he also removed the borders of the country.

+4
source share
1 answer

Use elementType to apply style only to specific elements:

 {featureType: "administrative.country", elementType: "labels", stylers: [ { visibility: "off" } ] } 
+2
source

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


All Articles