Class Map
Map class
Map is a collection of layers that can be rendered on top of each other via Renderer
.
public class Map : IDisposable, IReadOnlyList<MapLayer>
Constructors
Name | Description |
---|
Map(Measurement, Measurement) | Creates new instance of the Map class. |
Properties
Name | Description |
---|
BackgroundColor { get; set; } | Background color of the map. Defaults to Transparent. |
Count { get; } | Gets the number of layers in the map. |
Extent { get; set; } | Specifies bounds of map to render. If set to null , extent is calculated during rendering to include all geometries in all layers. |
Height { get; set; } | Visual height of the map. |
Item { get; } | Gets the layer at the specified index. |
Padding { get; set; } | Specifies padding to add to the extent. |
Resolution { get; set; } | Resolution to be used to render this map and to convert between Measurement . Defaults to 96. |
SpatialReferenceSystem { get; set; } | SpatialReferenceSystem of the map. |
Width { get; set; } | Visual width of the map. |
Methods
Name | Description |
---|
Add(FeaturesSequence) | Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order. |
Add(MapLayer) | Adds a layer to the map. Layers are rendered in addition order. |
Add(FeaturesSequence, VectorSymbolizer) | Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order. |
Add(VectorLayer, bool) | Creates a VectorMapLayer with default symbolizer and adds it to the map. Layers are rendered in addition order. |
Add(FeaturesSequence, VectorSymbolizer, Labeling) | Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order. |
Add(RasterLayer, RasterColorizer, bool) | Creates a RasterMapLayer with default colorizer and adds it to the map. |
Add(VectorLayer, VectorSymbolizer, bool) | Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order. |
Add(VectorLayer, VectorSymbolizer, Labeling, bool) | Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order. |
Dispose() | Disposes resources. |
GetEnumerator() | Returns an enumerator that iterates through the layers in the map. |
Render(AbstractPath, Renderer) | Renders map into a file. |
Render(string, Renderer) | Renders map into a file. |
See Also