Click or drag to resize

BaseLayer Class

A layer which adds one or more canvases to the map.
Inheritance Hierarchy

Namespace:  Ptv.XServer.Controls.Map.Layers
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class BaseLayer : ILayer, INotifyPropertyChanged

The BaseLayer type exposes the following members.

Constructors
  NameDescription
Public methodBaseLayer
Initializes a new instance of the BaseLayer class. By default, opacity is set to 1.
Top
Properties
  NameDescription
Public propertyCanvasCategories
Gets or sets the canvas categories for the layer.
Public propertyCanvasFactories
Gets or sets the array of factory delegates. There may be existing different factory methods for canvases of different categories.
Public propertyCaption
Gets or sets the caption of the layer.
Public propertyCopyright
Gets or sets the copyright text of the layer.
Public propertyHasSettingsDialog
Gets a value indicating whether the layer has a settings dialog describing its properties.
Public propertyIcon
Gets or sets the icon of the layer.
Public propertyName
Gets or sets the name of the layer.
Public propertyOpacity
Gets or sets the opacity of the layer.
Public propertyPriority
Gets or sets the zIndex of the layer.
Top
Methods
  NameDescription
Public methodAddToMapView
Adds the layer to a map.
Public methodInitializeFactory
Initializes the base layer factory. A default category for the created canvases is set as well as a default factory method which creates the new canvas instances.
Public methodRefresh
Updates the layer instances.
Public methodRemoveFromMapView
Removes the layer from a map.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also