Share via


IMap.MapStyle Property

Definition

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.

Applies to