Map Class

Map is a collection of layers that can be rendered on top of each other via Renderer.
Inheritance Hierarchy
SystemObject
  Aspose.Gis.RenderingMap

Namespace:  Aspose.Gis.Rendering
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public class Map : IReadOnlyList, IReadOnlyCollection, IEnumerable<MapLayer>, 
	IEnumerable, IDisposable

The Map type exposes the following members.

Constructors
  NameDescription
Public methodMap
Creates new instance of the Map class.
Properties
  NameDescription
Public propertyBackgroundColor
Background color of the map. Defaults to Transparent.
Public propertyCount
Gets the number of layers in the map.
Public propertyExtent
Specifies bounds of map to render. If set to , extent is calculated during rendering to include all geometries in all layers.
Public propertyHeight
Visual height of the map.
Public propertyItem
Gets the layer at the specified index.
Public propertyPadding
Specifies padding to add to the extent.
Public propertyResolution
Resolution to be used to render this map and to convert between Measurement. Defaults to 96.
Public propertySpatialReferenceSystem
Public propertyWidth
Visual width of the map.
Methods
  NameDescription
Public methodAdd(FeaturesSequence)
Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order.
Public methodAdd(MapLayer)
Adds a layer to the map. Layers are rendered in addition order.
Public methodAdd(FeaturesSequence, VectorSymbolizer)
Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order.
Public methodAdd(VectorLayer, Boolean)
Creates a VectorMapLayer with default symbolizer and adds it to the map. Layers are rendered in addition order.
Public methodAdd(FeaturesSequence, VectorSymbolizer, Labeling)
Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order.
Public methodAdd(VectorLayer, VectorSymbolizer, Boolean)
Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order.
Public methodAdd(VectorLayer, VectorSymbolizer, Labeling, Boolean)
Creates and adds a VectorMapLayer to the map. Layers are rendered in addition order.
Public methodDispose
Disposes resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the layers in the map.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRender(String, Renderer)
Renders map into a file.
Public methodRender(AbstractPath, Renderer)
Renders map into a file.
Public methodToString (Inherited from Object.)
See Also