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.
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla