Back to Devexpress

AzureMapDataProvider.CultureName Property

wpf-devexpress-dot-xpf-dot-map-dot-azuremapdataprovider-a7218f6c.md

latest1.9 KB
Original Source

AzureMapDataProvider.CultureName Property

Gets or sets the Culture name used to obtain data from Azure GIS services.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public string CultureName { get; set; }
vb
Public Property CultureName As String

Property Value

TypeDescription
String

The culture name that is equivalent to the written language and locale.

|

Remarks

Specify the CultureName property for map layers that contain textual data, for example, labels. You can also use the AzureMapDataProvider.LocalizedMapView property to specify the map view for a certain country/region.

The following example changes the loaded Azure map’s language to German:

xaml
<dxm:MapControl>
    <dxm:ImageLayer>
        <dxm:AzureMapDataProvider Tileset="Imagery" AzureKey="your key"/>
    </dxm:ImageLayer>
    <dxm:ImageLayer>
        <dxm:AzureMapDataProvider Tileset="BaseLabelsRoad" CultureName="de-DE" AzureKey="your key"/>
    </dxm:ImageLayer>
</dxm:MapControl>

See Also

AzureMapDataProvider Class

AzureMapDataProvider Members

DevExpress.Xpf.Map Namespace