Maria GDK 4.5.0.137
Documentation of managed code in release branch
Loading...
Searching...
No Matches
TPG.GeoFramework.MapLayer.NativeMapLayerViewModel Class Reference

Interface to map layer using native rendering. More...

Inheritance diagram for TPG.GeoFramework.MapLayer.NativeMapLayerViewModel:
TPG.GeoFramework.Core.GeoLayerViewModel TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel TPG.GeoFramework.Core.ViewModelBase TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel TPG.GeoFramework.Contracts.Geo.Layer.IExportableLayer TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase

Public Member Functions

 NativeMapLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator, IMapLayerViewFactory mapLayerViewFactory, IMapResources mapResources, IElevationData elevationData, IMapController mapController, INativeTileCacheManager tileCacheManager, IMapServiceManager mapServiceManager, IMapInterfacer mapInterfacer, IColorInterpolationTableManager colorTableManager)
 Map layer view model that works with a native backend.
 
override void HandleInputEvent (GeoInputEventArgs inputEventArgs)
 Called to forward events to the layer.
Parameters
inputEventArgs
If the layer handles the event, it must set the Handled property to true.
 
override void Update ()
 Event called at regular intervals to update contents of the layer.
 
override bool IsDirty ()
 
void PreExport ()
 Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
 
void Export (Canvas canvas, IGeoContext geoContext, double targetDpi)
 The actual export function. Implementing classes should draw their content using the provided canvas and geo context.
Parameters
canvasThe canvas to draw into.
geoContextThe geo context relevant for this export.
targetDpiThe wanted dpi for the export.

 
void PostExport ()
 Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
 
IRasterLayerData GetAutoShadingLayer ()
 Return raster layer for normal map shading (if any)
 
void AddAutoShadingLayer ()
 Create a new elevation shading layer and add it to the top of the current template.
 
IRasterLayerData GetColorMapLayer (string name)
 Return raster layer for elevation color map (if any).
 
IMapServiceRasterLayerData AddElevationColorMapLayer (string layerSignature, string paletteId, bool smoothInterpolation)
 Add elevation color map layer. This method will create an elevation color map based on the global data provider for ElevationColorMaps. This usually means all enabled elevation data layers in the main ElevationDataManager.
 
IMapServiceRasterLayerData AddColorMapLayer (string layerName, string paletteId, IGenericRasterDataset rasterData, bool smoothInterpolation)
 Create a named color map layer with the given input data.
 
void RemoveColorMapLayer (IMapServiceRasterLayerData layer)
 Remove the given color map layer from the layer list.
 
void ClearRasterLayerData (IMapServiceRasterLayerData layer)
 Force clear map data for the given raster layer.
 
List< string > GetLayerTags ()
 
Dictionary< string, string > GetMapLayers ()
 Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays.
Returns
Returns a dictionary with layernames and corresponding layerids (guid-string)

 
IEnumerable< IRasterLayerDataGetReferencedMapLayers (string id)
 Get all referenced overlays for a dynamic templatelayer.
Parameters
idLayer id
Returns
Returns a list of all referenced overlays

 
void ApplyBookmark (Bookmark bm)
 
void ApplyFeatureQueryConditions (ICondition fqc)
 
double? GetMapContentScale ()
 Map content (layers etc) are filtered based on map scale intervals In some cases this does not match the actual map scale (for instance using forced/locked zoom scale)
 
void ForceRegenerate ()
 
IMapMetadata GetMapMetadata ()
 Extract embedded map metadata for current map view Unique name/value-combinations are stored separately.
Returns
Merged map metadata for all visible tiles

 
IMapMetadata GetMapMetadata (MapMetadataCollectionSettings mapMetadataCollectionSettings)
 Extract embedded map metadata for current map view Set "mapMetadataCollectionSettings" to control metadata groupings.
 
List< IMapLegendDataGetMapLegendData ()
 Collect legend data information from all vector map layers in view.
Returns
List of legend data information in current view



 
BitmapSource GetMapLegendResources (RasterResourceRequest request)
 Fetch legend resource bitmap for single theme.
Returns
Bitmapsource representing single legend theme

 
- Public Member Functions inherited from TPG.GeoFramework.Core.GeoLayerViewModel
 GeoLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator)
 
abstract void HandleInputEvent (GeoInputEventArgs inputEventArgs)
 Called to forward events to the layer.
 
virtual void Generate ()
 Requests that the layer generates it's view.
 
abstract void Update ()
 Event called at regular intervals to update contents of the layer.
 
virtual void SetDirty (bool isDirty)
 Sets a boolean value indicating the need for an update of the contents of a layer.
 
void SetDirty (object sender)
 Sets dirty flag and stores sender, use to avoid cyclic dirtying.
 
virtual bool IsDirty ()
 
- Public Member Functions inherited from TPG.GeoFramework.Core.ViewModelBase
void Dispose ()
 Invoked when this object is being removed from the application and will be subject to garbage collection.
 
void HandleInputEvent (GeoInputEventArgs inputEventArgs)
 Called to forward events to the layer.
 
void Generate ()
 Requests that the layer generates it's view.
 
void Update ()
 Event called at regular intervals to update contents of the layer.
 
void SetDirty (bool isDirty)
 Sets a boolean value indicating the need for an update of the contents of a layer.
 
void SetDirty (object dirtySource)
 Sets dirty flag and stores sender, use to avoid cyclic dirtying.
 
bool IsDirty ()
 
void ApplyBookmark (Bookmark bm)
 
void ApplyFeatureQueryConditions (ICondition fqc)
 
double? GetMapContentScale ()
 Map content (layers etc) are filtered based on map scale intervals In some cases this does not match the actual map scale (for instance using forced/locked zoom scale)
 
void ForceRegenerate ()
 
IMapMetadata GetMapMetadata ()
 Extract embedded map metadata for current map view Unique name/value-combinations are stored separately.
 
IMapMetadata GetMapMetadata (MapMetadataCollectionSettings mapMetadataCollectionSettings)
 Extract embedded map metadata for current map view Set "mapMetadataCollectionSettings" to control metadata groupings.
 
List< IMapLegendDataGetMapLegendData ()
 Collect legend data information from all vector map layers in view.
 
BitmapSource GetMapLegendResources (RasterResourceRequest request)
 Fetch legend resource bitmap for single theme.
 
IRasterLayerData GetAutoShadingLayer ()
 Return raster layer for normal map shading (if any)
 
void AddAutoShadingLayer ()
 Create a new elevation shading layer and add it to the top of the current template.
 
Dictionary< string, string > GetMapLayers ()
 Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays.
 
IEnumerable< IRasterLayerDataGetReferencedMapLayers (string id)
 Get all referenced overlays for a dynamic templatelayer.
 
List< string > GetLayerTags ()
 Get available layer tags in active template.
 
IMapServiceRasterLayerData AddColorMapLayer (string layerSignature, string paletteId, IGenericRasterDataset rasterData, bool smoothInterpolation)
 Create a named color map layer with the given input data.
 
IMapServiceRasterLayerData AddElevationColorMapLayer (string layerSignature, string paletteId, bool smoothInterpolation)
 Add elevation color map layer. This method will create an elevation color map based on the global data provider for ElevationColorMaps. This usually means all enabled elevation data layers in the main ElevationDataManager.
 
IRasterLayerData GetColorMapLayer (string name)
 Return raster layer for elevation color map (if any).
 
void RemoveColorMapLayer (IMapServiceRasterLayerData layer)
 Remove the given color map layer from the layer list.
 
void ClearRasterLayerData (IMapServiceRasterLayerData layer)
 Force clear map data for the given raster layer.
 
void PreExport ()
 Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
 
void Export (Canvas canvas, IGeoContext geoContext, double targetDpi)
 The actual export function. Implementing classes should draw their content using the provided canvas and geo context.
 
void PostExport ()
 Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
 

Protected Member Functions

override void OnDispose (bool disposing)
 Child classes can override this method to perform clean-up logic, such as removing event handlers.
 
- Protected Member Functions inherited from TPG.GeoFramework.Core.GeoLayerViewModel
virtual void SetVisible (bool value)
 
override void OnDispose (bool disposing)
 Make sure that all layers disconnect their shared GeoContexts.
 
- Protected Member Functions inherited from TPG.GeoFramework.Core.ViewModelBase
virtual void OnDispose (bool disposing)
 Child classes can override this method to perform clean-up logic, such as removing event handlers.
 
void NotifyPropertyChanged< TProperty > (Expression< Func< TProperty > > property, INotifyPropertyChanged sender)
 
void NotifyPropertyChanged (string propertyName)
 
virtual void OnPropertyChanged ([CallerMemberName] string propertyName=null)
 

Properties

IMapResources MapResources [get]
 
IEnumerable< IRasterLayerDataLayers [get]
 
IMapController MapController [get]
 
IElevationData Elevation [get]
 
IMapInterfacer MapInterfacer [get]
 
IColorInterpolationTableManager ColorTableManager [get]
 Main palette data manager.
 
bool MapRenderSimple [get, set]
 
bool DrawVectorGeometries [get, set]
 
bool ShowVectorCoverage [get, set]
 
bool FetchVectorLabels [get, set]
 
ObservableCollection< string > VectorGroups [get]
 
ObservableCollection< string > AllowedRasterCompressionValues [get]
 
string RasterCompression [get, set]
 
IMapLayerView View [get, set]
 
IMapServiceManager MapServices [get]
 
ObservableCollection< FeatureInfoMapFeatureInfo [get]
 
IMapFeatureQuerySettings MapFeatureQuerySettings [get]
 
int MaxTileCacheSize [get, set]
 Maximum amount of memory to use for the tile caches. (In Mb)
 
int MaxConcurrentRequests [get, set]
 
bool LoadWhileAnimating [get, set]
 
double PixelScale [get, set]
 Map resolution parameter 1.0 guarantees that the pixels are at least the same resolution as the viewport resolution. 2.0 allows the pixels to be up to 2x as big as the viewport resolution.
 
double Opacity [get, set]
 
Color BackgroundColor [get, set]
 
- Properties inherited from TPG.GeoFramework.Core.GeoLayerViewModel
IGeoControlViewModel GeoControlViewModel [get, set]
 Get or set geo control view model.
 
UIElement Tooltip [get, set]
 Get or set tooltip UI element.
 
string Name [get]
 A name representing the type of layer.
 
bool Visible [get, set]
 Gets or sets the visibility of the layer.
 
IGeoContext GeoContext [get, set]
 Gets or sets the GeoContext related to the layer.
 
IGeoNavigator GeoNavigator [get, set]
 Gets or sets the GeoNavigator related to the GeoControl.
 
IGeoLayerViewFactory GeoLayerViewFactory [get, set]
 Gets a factory responsible for creating a IGeoLayerViewFactory view.
 
IGeoLayerView GeoLayerView [get, set]
 Gets or sets the view associated with this view model.
 
ClipMargins ClipMargins [get, set]
 Enables or disables clipping of the contents of the view, based on the specifed clip margins.
 
HashSet< object > DirtySources [get]
 All contributors to current dirty.
 
- Properties inherited from TPG.GeoFramework.Core.ViewModelBase
virtual string DisplayName [get, protected set]
 Returns the user-friendly name of this object. Child classes can set this property to a new value, or override it to determine the value on-demand.
 
- Properties inherited from TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase
string DisplayName [get]
 
- Properties inherited from TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel
string Name [get]
 A name representing the type of layer.
 
bool Visible [get, set]
 Gets or sets the visibility of the layer.
 
IGeoContext GeoContext [get, set]
 Gets or sets the GeoContext related to the layer.
 
IGeoLayerViewFactory GeoLayerViewFactory [get]
 Gets a factory responsible for creating a IGeoLayerViewFactory view.
 
IGeoLayerView GeoLayerView [get, set]
 Gets or sets the view associated with this view model.
 
IGeoNavigator GeoNavigator [get, set]
 Gets or sets the GeoNavigator related to the GeoControl.
 
IGeoControlViewModel GeoControlViewModel [get, set]
 Get or set geo control view model.
 
ClipMargins ClipMargins [get, set]
 Enables or disables clipping of the contents of the view, based on the specifed clip margins.
 
HashSet< object > DirtySources [get]
 All contributors to current dirty.
 
UIElement Tooltip [get, set]
 Get or set tooltip UI element.
 
- Properties inherited from TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel
IMapResources MapResources [get]
 
IEnumerable< IRasterLayerDataLayers [get]
 
IMapController MapController [get]
 
IColorInterpolationTableManager ColorTableManager [get]
 Main palette data manager.
 
IElevationData Elevation [get]
 
bool MapRenderSimple [get, set]
 
bool DrawVectorGeometries [get, set]
 
bool ShowVectorCoverage [get, set]
 
bool FetchVectorLabels [get, set]
 
ObservableCollection< string > VectorGroups [get]
 
ObservableCollection< string > AllowedRasterCompressionValues [get]
 
string RasterCompression [get]
 
IMapLayerView View [get, set]
 
IMapServiceManager MapServices [get]
 
ObservableCollection< FeatureInfoMapFeatureInfo [get]
 
IMapFeatureQuerySettings MapFeatureQuerySettings [get]
 
int MaxTileCacheSize [get, set]
 Maximum amount of memory to use for the tile caches. (In Mb)
 
int MaxConcurrentRequests [get, set]
 
double PixelScale [get, set]
 Map resolution parameter 1.0 guarantees that the pixels are at least the same resolution as the viewport resolution. 2.0 allows the pixels to be up to 2x as big as the viewport resolution.
 
double Opacity [get, set]
 
Color BackgroundColor [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from TPG.GeoFramework.Core.GeoLayerViewModel
string _name = null
 
- Events inherited from TPG.GeoFramework.Core.GeoLayerViewModel
VisibleChangedEventHandler VisibleChanged = delegate { }
 
LayerChangedEventHandler LayerChanged = delegate { }
 
- Events inherited from TPG.GeoFramework.Core.ViewModelBase
PropertyChangedEventHandler PropertyChanged = delegate { }
 Raised when a property on this object has a new value.
 
- Events inherited from TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel
VisibleChangedEventHandler VisibleChanged
 Visibility changed.
 
LayerChangedEventHandler LayerChanged
 Layer changed.
 

Detailed Description

Interface to map layer using native rendering.

Constructor & Destructor Documentation

◆ NativeMapLayerViewModel()

TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.NativeMapLayerViewModel ( IGeoContext  geoContext,
IGeoNavigator  geoNavigator,
IMapLayerViewFactory  mapLayerViewFactory,
IMapResources  mapResources,
IElevationData  elevationData,
IMapController  mapController,
INativeTileCacheManager  tileCacheManager,
IMapServiceManager  mapServiceManager,
IMapInterfacer  mapInterfacer,
IColorInterpolationTableManager  colorTableManager 
)
inline

Map layer view model that works with a native backend.

Parameters
geoContextThe geo context in use.
geoNavigatorThe geo navigator in use.
mapLayerViewFactoryFactorty to use for creating the corresponding view.
mapResourcesThe map resources.
elevationDataThe elevation data to use.
mapControllerThe map controller to use.
tileCacheManager
mapServiceManagerMap service manager to use.
mapInterfacerThe interface to the native part of rendering.

Member Function Documentation

◆ AddAutoShadingLayer()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.AddAutoShadingLayer ( )
inline

Create a new elevation shading layer and add it to the top of the current template.

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ AddColorMapLayer()

IMapServiceRasterLayerData TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.AddColorMapLayer ( string  layerSignature,
string  paletteId,
IGenericRasterDataset  rasterData,
bool  smoothInterpolation 
)
inline

Create a named color map layer with the given input data.

Parameters
layerSignatureName for the new layer.
paletteIdID of the palette to be used. This palette name must be available in the requested data provider.
rasterDataRaster dataset to use as input for the color map layer
smoothInterpolationEnable smooth interpolation of the map colors.
Returns
A new raster layer with the given properties.

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ AddElevationColorMapLayer()

IMapServiceRasterLayerData TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.AddElevationColorMapLayer ( string  layerSignature,
string  paletteId,
bool  smoothInterpolation 
)
inline

Add elevation color map layer. This method will create an elevation color map based on the global data provider for ElevationColorMaps. This usually means all enabled elevation data layers in the main ElevationDataManager.

Parameters
layerSignatureName for the new data layer.
paletteIdID of the palette to be used. This palette name must be available in the global ElevationColorMap data provider.
smoothInterpolationEnable smooth interpolation of the map colors.
Returns

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ ApplyBookmark()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ApplyBookmark ( Bookmark  bm)
inline

◆ ApplyFeatureQueryConditions()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ApplyFeatureQueryConditions ( ICondition  fqc)
inline

◆ ClearRasterLayerData()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ClearRasterLayerData ( IMapServiceRasterLayerData  layer)
inline

Force clear map data for the given raster layer.

Parameters
layer

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ Export()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.Export ( Canvas  canvas,
IGeoContext  geoContext,
double  targetDpi 
)
inline

The actual export function. Implementing classes should draw their content using the provided canvas and geo context.

Parameters
canvasThe canvas to draw into.
geoContextThe geo context relevant for this export.
targetDpiThe wanted dpi for the export.

Implements TPG.GeoFramework.Contracts.Geo.Layer.IExportableLayer.

◆ ForceRegenerate()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ForceRegenerate ( )
inline

◆ GetAutoShadingLayer()

IRasterLayerData TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetAutoShadingLayer ( )
inline

Return raster layer for normal map shading (if any)

Returns

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetColorMapLayer()

IRasterLayerData TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetColorMapLayer ( string  name)
inline

Return raster layer for elevation color map (if any).

Returns

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetLayerTags()

List< string > TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetLayerTags ( )
inline

◆ GetMapContentScale()

double? TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapContentScale ( )
inline

Map content (layers etc) are filtered based on map scale intervals In some cases this does not match the actual map scale (for instance using forced/locked zoom scale)

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetMapLayers()

Dictionary< string, string > TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapLayers ( )
inline

Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays.

Returns
Returns a dictionary with layernames and corresponding layerids (guid-string)

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetMapLegendData()

List< IMapLegendData > TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapLegendData ( )
inline

Collect legend data information from all vector map layers in view.

Returns
List of legend data information in current view


Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetMapLegendResources()

BitmapSource TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapLegendResources ( RasterResourceRequest  request)
inline

Fetch legend resource bitmap for single theme.

Returns
Bitmapsource representing single legend theme

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetMapMetadata() [1/2]

IMapMetadata TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapMetadata ( )
inline

Extract embedded map metadata for current map view Unique name/value-combinations are stored separately.

Returns
Merged map metadata for all visible tiles

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetMapMetadata() [2/2]

IMapMetadata TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetMapMetadata ( MapMetadataCollectionSettings  mapMetadataCollectionSettings)
inline

Extract embedded map metadata for current map view Set "mapMetadataCollectionSettings" to control metadata groupings.

Parameters
mapMetadataCollectionSettingsMetadata collection settings
Returns

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ GetReferencedMapLayers()

IEnumerable< IRasterLayerData > TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.GetReferencedMapLayers ( string  id)
inline

Get all referenced overlays for a dynamic templatelayer.

Parameters
idLayer id
Returns
Returns a list of all referenced overlays

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ HandleInputEvent()

override void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.HandleInputEvent ( GeoInputEventArgs  inputEventArgs)
inlinevirtual

Called to forward events to the layer.

Parameters
inputEventArgs
If the layer handles the event, it must set the Handled property to true.

Implements TPG.GeoFramework.Core.GeoLayerViewModel.

◆ IsDirty()

override bool TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.IsDirty ( )
inlinevirtual

◆ OnDispose()

override void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.OnDispose ( bool  disposing)
inlineprotectedvirtual

Child classes can override this method to perform clean-up logic, such as removing event handlers.

Reimplemented from TPG.GeoFramework.Core.ViewModelBase.

◆ PostExport()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.PostExport ( )
inline

Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.

Implements TPG.GeoFramework.Contracts.Geo.Layer.IExportableLayer.

◆ PreExport()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.PreExport ( )
inline

Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.

Implements TPG.GeoFramework.Contracts.Geo.Layer.IExportableLayer.

◆ RemoveColorMapLayer()

void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.RemoveColorMapLayer ( IMapServiceRasterLayerData  layer)
inline

Remove the given color map layer from the layer list.

Parameters
layer

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ Update()

override void TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.Update ( )
inlinevirtual

Event called at regular intervals to update contents of the layer.

Implements TPG.GeoFramework.Core.GeoLayerViewModel.

Property Documentation

◆ AllowedRasterCompressionValues

ObservableCollection<string> TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.AllowedRasterCompressionValues
get

◆ BackgroundColor

Color TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.BackgroundColor
getset

◆ ColorTableManager

IColorInterpolationTableManager TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ColorTableManager
get

Main palette data manager.

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ DrawVectorGeometries

bool TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.DrawVectorGeometries
getset

◆ Elevation

IElevationData TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.Elevation
get

◆ FetchVectorLabels

bool TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.FetchVectorLabels
getset

◆ Layers

IEnumerable<IRasterLayerData> TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.Layers
get

◆ MapController

IMapController TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapController
get

◆ MapFeatureInfo

ObservableCollection<FeatureInfo> TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapFeatureInfo
get

◆ MapFeatureQuerySettings

IMapFeatureQuerySettings TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapFeatureQuerySettings
get

◆ MapRenderSimple

bool TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapRenderSimple
getset

◆ MapResources

IMapResources TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapResources
get

◆ MapServices

IMapServiceManager TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MapServices
get

◆ MaxConcurrentRequests

int TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MaxConcurrentRequests
getset

◆ MaxTileCacheSize

int TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.MaxTileCacheSize
getset

Maximum amount of memory to use for the tile caches. (In Mb)

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ Opacity

double TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.Opacity
getset

◆ PixelScale

double TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.PixelScale
getset

Map resolution parameter 1.0 guarantees that the pixels are at least the same resolution as the viewport resolution. 2.0 allows the pixels to be up to 2x as big as the viewport resolution.

Implements TPG.GeoFramework.MapLayer.Contracts.IMapLayerViewModel.

◆ RasterCompression

string TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.RasterCompression
getset

◆ ShowVectorCoverage

bool TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.ShowVectorCoverage
getset

◆ VectorGroups

ObservableCollection<string> TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.VectorGroups
get

◆ View

IMapLayerView TPG.GeoFramework.MapLayer.NativeMapLayerViewModel.View
getset

The documentation for this class was generated from the following file: