## MapOptions class

Map Options for creating maps using [`LayersMapBuilder`](../layersmapbuilder/)

```csharp
public class MapOptions
```

## Constructors

| Name | Description |
| --- | --- |
| [MapOptions](mapoptions/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [BackgroundColor](../../aspose.gis.geotools.layersmap/mapoptions/backgroundcolor/) { get; set; } | Background color of the map. Defaults to System.Drawing.Color.Transparent. |
| [Height](../../aspose.gis.geotools.layersmap/mapoptions/height/) { get; set; } | Visual height of the map. Defaults to 400. Used when Custom. |
| [Layers](../../aspose.gis.geotools.layersmap/mapoptions/layers/) { get; set; } | A collection of options for vector layers to represent by Aspose.Gis.GeoTools.LayersMap.MapLayerOptions. |
| [Rasters](../../aspose.gis.geotools.layersmap/mapoptions/rasters/) { get; set; } | A collection of options for rasters layers to represent by Aspose.Gis.GeoTools.LayersMap.MapRasterOptions. |
| [Renderer](../../aspose.gis.geotools.layersmap/mapoptions/renderer/) { get; set; } | Renderer to use. Defaults to Aspose.Gis.Rendering.Renders.Jpeg. |
| [SizeMode](../../aspose.gis.geotools.layersmap/mapoptions/sizemode/) { get; set; } | Size Mode. Defaults to Auto |
| [Tiles](../../aspose.gis.geotools.layersmap/mapoptions/tiles/) { get; set; } | Tiles options. |
| [Width](../../aspose.gis.geotools.layersmap/mapoptions/width/) { get; set; } | Visual width of the map. Defaults to 400. Used when Custom. |

## Fields

| Name | Description |
| --- | --- |
| [SpatialReference](../../aspose.gis.geotools.layersmap/mapoptions/spatialreference/) | Spatial Reference. Defaults to Aspose.Gis.SpatialReferencing.SpatialReferenceSystem.WebMercator. |

### See Also

* namespace [Aspose.Gis.GeoTools.LayersMap](../../aspose.gis.geotools.layersmap/)
* assembly [Aspose.GIS](../../)


