Is it possible to customize the color scheme of a Google Map?

后端 未结 8 1209
旧时难觅i
旧时难觅i 2020-12-05 02:18

I\'m using the Google Maps API and would like it to render a very simple image of countries/continents.

I also want to draw them in a suitable color that will work

相关标签:
8条回答
  • 2020-12-05 02:41

    I recently stumbled over this: http://cloudmade.com/products/style-editor They have a complete color editor an lot's of API stuff.

    I didn't found something about pricing. But you can have a look into the editior here: http://maps.cloudmade.com/editor/

    0 讨论(0)
  • 2020-12-05 02:42

    Google recently announced support for Styled Maps in the Google Maps API. You can extensively customize the color scheme used by Google Maps.

    0 讨论(0)
  • 2020-12-05 02:57

    It is possible now with the Google maps V3 API. It comes as a custom map style.

    Google made a style wizard: https://mapstyle.withgoogle.com/

    0 讨论(0)
  • 2020-12-05 03:01

    I don't think you can customise this through the Google Maps API. However, the Google Chart API has a map chart type that has customisable colours.

    You might also want to investigate OpenLayers, which is an open source web-based mapping engine.

    0 讨论(0)
  • 2020-12-05 03:02

    No, when using the Google Maps API, you cannot change the maps themselves in any way. What you can customize, though, are the icons, logos, etc that you use.

    EDIT: Google has since release the Styled Maps API, which will probably give you exactly what you want. Take a look at the wizard to get started quickly.

    0 讨论(0)
  • 2020-12-05 03:03

    Google Maps API v3. Working jsFiddle:

    jsFiddle ---------------------------------------> http://jsfiddle.net/SQvej/

    styles:[
        { featureType: "water", stylers: [ { hue: "#F4B741"} ] },
        { featureType: "road", stylers: [ { hue: "#ff0000" } ] }
    ]
    

    Less words, more fiddles: http://24.media.tumblr.com/tumblr_m0i1emsdP31qaebp2o1_400.gif

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