Class MapOptions

MapOptions class

Map Options for creating maps using LayersMapBuilder

public class MapOptions

Constructors

NameDescription
MapOptions()The default constructor.

Properties

NameDescription
BackgroundColor { get; set; }Background color of the map. Defaults to System.Drawing.Color.Transparent.
Height { get; set; }Visual height of the map. Defaults to 400.
Layers { get; set; }A collection of options for vector layers to represent by Aspose.Gis.GeoTools.LayersMap.MapLayerOptions.
Rasters { get; set; }A collection of options for rasters layers to represent by Aspose.Gis.GeoTools.LayersMap.MapRasterOptions.
Renderer { get; set; }Renderer to use. Defaults to Aspose.Gis.Rendering.Renders.Jpeg.
SizeMode { get; set; }Size Mode.
Tiles { get; set; }Tiles options.
Width { get; set; }Visual width of the map. Defaults to 400.

Fields

NameDescription
ReferenceSystemWhenNullInLayerSpecifies a value for a layer spatial reference if that is missing. Defaults to Aspose.Gis.SpatialReferencing.SpatialReferenceSystem.WebMercator.
SpatialReferenceSpatial Reference. Defaults to Aspose.Gis.SpatialReferencing.SpatialReferenceSystem.WebMercator.

See Also