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: 21.10.0.0 (21.10)
Syntax
public class Map : IReadOnlyList<MapLayer>, IReadOnlyCollection<MapLayer>, 
	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(RasterLayer, RasterColorizer, Boolean)
Creates a RasterMapLayer with default colorizer and adds it to the map.
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the layers in the map.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender(String, Renderer)
Renders map into a file.
Public methodRender(AbstractPath, Renderer)
Renders map into a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also