Google Maps: Map Styles Examples/Library [closed]

2020-06-03 03:13发布

Does anyone know public map styles libraries for Google Maps? I found a few examples here: http://maps-api-tt.appspot.com/apilite/styled/styled.html

But perhaps anyone knows more websites with styled maps examples?

2条回答
祖国的老花朵
2楼-- · 2020-06-03 03:18

I think that these links will help you:

How to make Styled Maps

Styled maps allow you to customize the presentation of the standard Google base maps, changing the visual display of such elements as roads, parks, and built-up areas.

You have there few examples:

var styleArray = [
  {
    featureType: "all",
    stylers: [
      { saturation: -80 }
    ]
  },{
    featureType: "road.arterial",
    elementType: "geometry",
    stylers: [
      { hue: "#00ffee" },
      { saturation: 50 }
    ]
  },{
    featureType: "poi.business",
    elementType: "labels",
    stylers: [
      { visibility: "off" }
    ]
  }
];

A great editor

You have there a lot of instructions about how to use it.

查看更多
神经病院院长
3楼-- · 2020-06-03 03:36

When I found out you could style Google Maps this way I also searched for some kind of repository that lists awesome color schemes. I couldn't find any so I went ahead and created one. Check it out at:

http://snazzymaps.com

You can browse though the styles, copy the JSON style array, or download a full example. It's pretty new but we already have a decent amount of styles and are starting to get some great user submissions.

查看更多
登录 后发表回答