MapDataProviderBase.CacheOptions Property
Gets or sets the settings for the provider’s cache.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.1.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
CacheOptions | A storage for cache settings. |
Remarks
The following example configures cache options for a BingMapDataProvider:
<dxm:MapControl x:Name="mapControl">
<dxm:ImageLayer>
<dxm:BingMapDataProvider>
<dxm:BingMapDataProvider.CacheOptions>
<dxm:CacheOptions Directory="D://CachedData" KeepInterval="01:00:00"/>
</dxm:BingMapDataProvider.CacheOptions>
</dxm:BingMapDataProvider>
</dxm:ImageLayer>
</dxm:MapControl>
See Also