The following tables list the members exposed by MapLayer.
Name | Description | |
---|---|---|
MapLayer Constructor | Initializes a new instance of the MapLayer object. |
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. |
Name | Description | |
---|---|---|
AddLatLongLine | Adds a line to this map layer. | |
AddLatLongPoint | Overloaded. Adds a point to this map layer. | |
AddLine | Adds a line to this map layer. | |
AddPoint | Overloaded. Adds a point to this map layer with a marker, hotspot, and annotation. A null value can be used for hotspot or annotation if they are to be | |
ImportData | Imports and merges a DataTable with this MapLayer. |