Changing water color RRS feed

  • Question

  • Hi , 

    I'm using a map and i'm trying to change the color of the water.

    I'm using this as example:

    i've added: "water":{"fillColor":"#B7CDDE"} , and this indeed changes the water color - but not for all areas:

    when zoom-in to Japan , I have an area in the water that didn't change color (See img):

    How can I change this area also? How is this area defined?

    img link:



    Sunday, September 16, 2018 7:28 AM


All replies

  • Unfortunately Japan and Korea are rendered differently using an offline process by local data providers and don't work with custom styling.
    Monday, September 17, 2018 4:06 PM
  • Thanks for the answer.

    So , there is no way to change the color of the water including those areas?

    Do you know is this is written somewhere officially?



    Tuesday, September 18, 2018 11:11 AM
  • Correct. The UWP map control allows you to switch off the raster regions for Japan and Korea which will fall back to a lower detail data set that will at least be stylistically consistent. The web control doesn't support this option. This is documented as part of the styling documentation for the V8 map control here:

    The following are some known limitations of custom map styles.

    • Custom styles are not supported for all country maps. Custom maps styles require the use of vector map data. Some countries have strict regulations around vector map data which prevents the Bing Maps team from using it to create custom map styles on the fly. This effects China, South Korea, and Japan currently. If you zoom into one of these countries, you will see the default map tile style appear for these countries while surrounding areas will use the custom map style.

    Tuesday, September 18, 2018 4:49 PM
  • I see. 

    Is there an option to use different web control to resolve this? Something that I can do from my side to overcome this? (rather then keep the original water style).



    Thursday, September 20, 2018 6:57 AM
  • The only Bing control I'm aware of that supports switching off the raster regions in Japan and Korea to get consistent styling is the UWP map control for Windows apps

    If you want to see how custom styling works with all the Bing map controls, the mapstylesheet editor app will allow you to interactively edit styles

    Thursday, September 20, 2018 4:27 PM