Map style sheet reference
Microsoft mapping technologies use map style sheets to define the appearance of maps, including those displayed in a Windows Store application's MapControl. A map style sheet is defined using JavaScript Object Notation (JSON) through the MapStyleSheet.ParseFromJson method.
A style sheet consists of entries whose properties are overridden to change the final appearance of the map.
For example, the following JSON can be used to make water areas appear in red, water labels appear in green, and land areas appear in blue:
{"version":"1.*",
"settings":{"landColor":"#0000FF"},
"elements":{"water":{"fillColor":"#FF0000","labelColor":"#00FF00"}}
}
Style sheets can be created interactively using the Map Style Sheet Editor application.
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for