Click or drag to resize

LayerCollection Methods

The LayerCollection type exposes the following members.

Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodInsertBefore
Insert a layer before another layer.
Public methodIsSelectable
Retrieves if the layer is selectable taking into account whether it is exclusively selectable.
Public methodIsSelectableBase
Retrieves if the layer is selectable without taking into account whether it is exclusively selectable.
Public methodIsVisible
Retrieves for a layer whether it is visible.
Public methodRegister
Connect a MapView-object to the called LayerCollection. In return, only visible layers are connected to the Map object.
Public methodSetSelectable
Sets the selectable flag of the layer, if the layer is not exclusive selectable.
Public methodSetVisible
Set the visibility of the specified layer.
Public methodShowSettingsDialog
Activates the settings dialog, if an ILayerSettings-interface is set by the client application.
Public methodUnregister
Disconnect a MapView-object from the called LayerCollection. In return, all visible layers are disconnected from the Map object.
Top
Extension Methods
  NameDescription
Public Extension MethodInsertXMapBaseLayers
Inserts the xMapServer base layers, i.e. the background layers for areas like forests, rivers, population areas, et al, and their corresponding labels.
(Defined by XMapLayerFactory.)
Public Extension MethodRemoveXMapBaseLayers
Removes all xMapServer base layers.
(Defined by XMapLayerFactory.)
Public Extension MethodUpdateXMapCoprightText
Updates the copyright text for the XMapServer layers.
(Defined by XMapLayerFactory.)
Public Extension MethodUpdateXMapMaxZoom
Updates the maximum zoom for the XMapServer layers.
(Defined by XMapLayerFactory.)
Public Extension MethodUpdateXMapMinZoom
Updates the minimum zoom for the XMapServer layers.
(Defined by XMapLayerFactory.)
Public Extension MethodUpdateXMapProfiles
Updates the profiles to be used in xMap Server requests.
(Defined by XMapLayerFactory.)
Top
See Also