MapLayer Class Members
The following tables list the members exposed by MapLayer.
Public Constructors
Name | Description | |
---|---|---|
![]() | MapLayer Constructor | Initializes a new instance of the MapLayer object. |
Public Properties
Name | Description | |
---|---|---|
![]() | AttributeNames | Gets a string array of attribute names associated with the loaded shape file. |
![]() | DefaultShape | Gets or sets a Shape object that specifies the default properties of all subsequent shapes in this MapLayer. |
![]() | Groups | Gets a GroupCollection object which holds Group objects used to modify similar shapes automatically. |
![]() | LabelOnce | Gets or sets a boolean value that indicates whether single shapes with multiple parts are labeled only once. An example is a multiple island country which would use only one label provided this property is set to true, otherwise each island may be labeled. |
![]() | Palette | Gets or sets an array of colors that defines the colors that will be used by the shapes of this MapLayer. |
![]() | PaletteName | Gets or sets a Palette enumeration that indicates which static palette will be used by the shapes of this MapLayer. |
![]() | Shapes | Gets a collection of Shape objects generated by the source shape file (.shp). |
![]() | SourceFileName | Gets or sets the name of the file used to populate this MapLayer. |
Public Methods
Name | Description | |
---|---|---|
![]() | AddLatLongLine | |
![]() | AddLatLongPoint | Overloaded. Adds a point to this map layer. |
![]() | AddLine | |
![]() | AddPoint | Overloaded. |
![]() | ImportData | Imports and merges a DataTable with this MapLayer. |
See Also