VectorFileLayer Members
A layer that displays vector elements loaded from a file (e.g., Shapefile or KML).Constructors
Name | Description |
---|---|
VectorFileLayer() | Initializes a new instance of the VectorFileLayer class with default settings. |
Fields
Properties
Name | Description |
---|---|
FileReader | Specifies the file reader for this file layer. |
InitialMapSize | Gets or sets the size of a map shape tile to provide a map projection. Inherited from MapItemsLayerBase. |
IsFileReadCompleted | |
Items | Provides access to the list of vector elements that are painted in this VectorLayer. Inherited from VectorLayer. |
MapProjection | Gets or sets the current projection used by this MapItemsLayerBase object. Inherited from MapItemsLayerBase. |
MaxZoomLevel | Gets or sets the maximum zoom level at which this layer should be visible. Inherited from LayerBase. |
MinZoomLevel | Gets or sets the minimum zoom level at which this layer should be visible. Inherited from LayerBase. |
RenderShapeOnLoad | Gets or sets a value indicating whether or not it is necessary to render shapes on map loading. |
SelectedItem | Gets or sets the currently selected item on a layer. Inherited from MapItemsLayerBase. |
SelectedItemBrush | Gets or sets the brush that specifies how the selected item outline is painted. Inherited from MapItemsLayerBase. |
SelectedItems | Gets or sets the collection of selected items on this layer. Inherited from MapItemsLayerBase. |
ShapeFill | Gets or sets the brush that specifies how the shape’s interior is painted. Inherited from VectorLayer. |
ShapeStroke | Gets or sets the brush that specifies how the shape outline is painted. Inherited from VectorLayer. |
ShapeStrokeStyle | Gets or sets the settings of the shape outline. Inherited from VectorLayer. |
ToolTipPattern | Gets or sets a string that is the pattern specifying the text to be displayed within a tooltip. Inherited from MapItemsLayerBase. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GeoPointToMapUnit(GeoPoint) | Converts the specified geographical point into internal map units. Inherited from LayerBase. |
GeoToKilometersSize(GeoPoint, Size) | Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point. Inherited from LayerBase. |
GeoToScreenPoint(GeoPoint) | Converts the specified geographical point into a point on the screen. Inherited from LayerBase. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
KilometersToGeoSize(GeoPoint, Size) | Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point. Inherited from LayerBase. |
MapUnitToGeoPoint(MapUnit) | Converts the specified map unit into the corresponding geographical point. Inherited from LayerBase. |
MapUnitToScreenPoint(MapUnit) | Converts the specified map unit into the point on a screen. Inherited from LayerBase. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ScreenPointToMapUnit(Point) | Converts the specified screen point into internal map units. Inherited from LayerBase. |
ScreenToGeoPoint(Point) | Converts the specified screen point into the corresponding geographical point. Inherited from LayerBase. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
FileReadCompleted | Occurs when reading a shape data file has been completed. |
MapItemLoaded | Occurs when all map items have been loaded. |
PropertyChanged | Occurs every time any of the MapElement class properties has changed its value. Inherited from MapElement. |
ViewportChanged | Occurs every time the current viewport is changed. Inherited from LayerBase. |
See Also