How to get a map without labels?

前端 未结 5 2047
别那么骄傲
别那么骄傲 2021-02-07 11:13

I want to get a map (I only need a picture) that has the road network but without labels (text on the map). I tried to get such a map from Google API and thought \"element

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-07 11:52

    Use this style:

    style=feature:all|element:labels|visibility:off
    

    it will hide all labels for all features.

    http://maps.google.com/maps/api/staticmap?sensor=false&size=512x512¢er=Brooklyn&zoom=12&style=feature:all|element:labels|visibility:off

提交回复
热议问题