LayerCollection Class |
Namespace: Ptv.XServer.Controls.Map
The LayerCollection type exposes the following members.
Name | Description | |
---|---|---|
LayerCollection | Initializes a new instance of the LayerCollection class. |
Name | Description | |
---|---|---|
ExclusiveSelectableLayer | Gets or sets the layer which is the one-and-only selectable layer. | |
Item | Index operator for the set of layers, accepting the layer name for comparison. | |
LayerSettings | Gets or sets the interface, which is used when the settings of a layer have to be shown.
Due to the fact, that this class does not know the styles of the GUI, the dialogs are deferred to the
client application implementing such an ILayerSettings-interface. |
Name | Description | |
---|---|---|
Clone | Creates a new object that is a copy of the current instance. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
InsertBefore | Insert a layer before another layer. | |
IsSelectable | Retrieves if the layer is selectable taking into account whether it is exclusively selectable. | |
IsSelectableBase | Retrieves if the layer is selectable without taking into account whether it is exclusively
selectable. | |
IsVisible | Retrieves for a layer whether it is visible. | |
Register | Connect a MapView-object to the called LayerCollection. In return, only visible
layers are connected to the Map object. | |
SetSelectable | Sets the selectable flag of the layer, if the layer is not exclusive selectable. | |
SetVisible | Set the visibility of the specified layer. | |
ShowSettingsDialog | Activates the settings dialog, if an ILayerSettings-interface is set by the client
application. | |
Unregister | Disconnect a MapView-object from the called LayerCollection. In return, all visible
layers are disconnected from the Map object. |
Name | Description | |
---|---|---|
LayerAdded | Callback for indicating the insertion of a new layer to this collection.
This is useful when layer specific callbacks have to be set, for example to indicate a layer's property change.
| |
LayerRemoved | Callback for indicating the removal of a layer from this collection.
It becomes important when layer specific callbacks were set in LayerAdded,
and have to be removed now.
| |
LayerSelectabilityChanged | Callback for indicating the selectability changing. | |
LayerVisibilityChanged | Callback for indicating the visibility changing. |
Name | Description | |
---|---|---|
InsertXMapBaseLayers |
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.) | |
RemoveXMapBaseLayers |
Removes all xMapServer base layers.
(Defined by XMapLayerFactory.) | |
UpdateXMapCoprightText |
Updates the copyright text for the XMapServer layers.
(Defined by XMapLayerFactory.) | |
UpdateXMapMaxZoom |
Updates the maximum zoom for the XMapServer layers.
(Defined by XMapLayerFactory.) | |
UpdateXMapMinZoom |
Updates the minimum zoom for the XMapServer layers.
(Defined by XMapLayerFactory.) | |
UpdateXMapProfiles |
Updates the profiles to be used in xMap Server requests.
(Defined by XMapLayerFactory.) |