IMap.MapStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the custom map style as a JSON string.
public:
property System::String ^ MapStyle { System::String ^ get(); };
public string? MapStyle { get; }
member this.MapStyle : string
Public ReadOnly Property MapStyle As String
Property Value
Remarks
This property is only supported on Android where it accepts a Google Maps style JSON string. Use the Google Maps Styling Wizard (https://mapstyle.withgoogle.com/) to generate a style JSON. On iOS, MacCatalyst, and Windows this property has no effect as the native map controls do not support custom JSON styling.