Map.Add
Add(VectorLayer, bool)
Creates a VectorMapLayer
with default symbolizer and adds it to the map. Layers are rendered in addition order.
public void Add(VectorLayer layer, bool keepOpen = false)
Parameter | Type | Description |
---|
layer | VectorLayer | A vector layer to represent by VectorMapLayer . |
keepOpen | Boolean | true to leave the vector layer open after the Map object is disposed; false to dispose the layer. |
Exceptions
exception | condition |
---|
ArgumentNullException | Layer is null . |
See Also
Add(VectorLayer, VectorSymbolizer, bool)
Creates and adds a VectorMapLayer
to the map. Layers are rendered in addition order.
public void Add(VectorLayer layer, VectorSymbolizer symbolizer, bool keepOpen = false)
Parameter | Type | Description |
---|
layer | VectorLayer | A vector layer to represent by VectorMapLayer . |
symbolizer | VectorSymbolizer | A symbolizer to use for rendering. If null , default symbolizer is used. |
keepOpen | Boolean | true to leave the vector layer open after the Map object is disposed; false to dispose the layer. |
Exceptions
exception | condition |
---|
ArgumentNullException | Layer is null . |
See Also
Add(VectorLayer, VectorSymbolizer, Labeling, bool)
Creates and adds a VectorMapLayer
to the map. Layers are rendered in addition order.
public void Add(VectorLayer layer, VectorSymbolizer symbolizer, Labeling labeling,
bool keepOpen = false)
Parameter | Type | Description |
---|
layer | VectorLayer | A vector layer to represent by VectorMapLayer . |
symbolizer | VectorSymbolizer | A symbolizer to use for rendering. If null , default symbolizer is used. |
labeling | Labeling | Labeling to use to label features in layer. If null , default NullLabeling will be used. |
keepOpen | Boolean | true to leave the layer open after the Map object is disposed; otherwise, false . |
Exceptions
exception | condition |
---|
ArgumentNullException | Layer is null . |
See Also
Add(FeaturesSequence)
Creates and adds a VectorMapLayer
to the map. Layers are rendered in addition order.
public void Add(FeaturesSequence featuresSequence)
Parameter | Type | Description |
---|
featuresSequence | FeaturesSequence | A features sequence to represent by VectorMapLayer . |
Exceptions
exception | condition |
---|
ArgumentNullException | Features sequence is null . |
See Also
Add(FeaturesSequence, VectorSymbolizer)
Creates and adds a VectorMapLayer
to the map. Layers are rendered in addition order.
public void Add(FeaturesSequence featuresSequence, VectorSymbolizer symbolizer)
Parameter | Type | Description |
---|
featuresSequence | FeaturesSequence | A features sequence to represent by VectorMapLayer . |
symbolizer | VectorSymbolizer | A symbolizer to use for rendering. If null , default symbolizer is used. |
Exceptions
exception | condition |
---|
ArgumentNullException | Features sequence is null . |
See Also
Add(FeaturesSequence, VectorSymbolizer, Labeling)
Creates and adds a VectorMapLayer
to the map. Layers are rendered in addition order.
public void Add(FeaturesSequence featuresSequence, VectorSymbolizer symbolizer, Labeling labeling)
Parameter | Type | Description |
---|
featuresSequence | FeaturesSequence | A features sequence to represent by VectorMapLayer . |
symbolizer | VectorSymbolizer | A symbolizer to use for rendering. |
labeling | Labeling | Labeling to use to label features in layer. If null , NullLabeling will be used. |
Exceptions
exception | condition |
---|
ArgumentNullException | Features sequence is null . |
See Also
Add(MapLayer)
Adds a layer to the map. Layers are rendered in addition order.
public void Add(MapLayer mapLayer)
Parameter | Type | Description |
---|
mapLayer | MapLayer | The layer to be added. |
Exceptions
exception | condition |
---|
ArgumentNullException | Argument is null . |
See Also
Add(RasterLayer, RasterColorizer, bool)
Creates a RasterMapLayer
with default colorizer and adds it to the map.
public void Add(RasterLayer layer, RasterColorizer colorizer = null, bool keepOpen = false)
Parameter | Type | Description |
---|
layer | RasterLayer | A vector layer to represent by RasterLayer . |
colorizer | RasterColorizer | A colorizer to use for rendering. If null , default colorizer is used. |
keepOpen | Boolean | true to leave the raster layer open after the Map object is disposed; false to dispose the layer. |
Exceptions
exception | condition |
---|
ArgumentNullException | Layer is null . |
See Also