Class CfnMap.MapConfigurationProperty
Specifies the map tile style selected from an available provider.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Location
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MapConfigurationProperty : Object, CfnMap.IMapConfigurationProperty
Syntax (vb)
Public Class MapConfigurationProperty
Inherits Object
Implements CfnMap.IMapConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Location;
var mapConfigurationProperty = new MapConfigurationProperty {
Style = "style",
// the properties below are optional
CustomLayers = new [] { "customLayers" },
PoliticalView = "politicalView"
};
Synopsis
Constructors
MapConfigurationProperty() |
Properties
CustomLayers | Specifies the custom layers for the style. |
PoliticalView | Specifies the map political view selected from an available data provider. |
Style | Specifies the map style selected from an available data provider. |
Constructors
MapConfigurationProperty()
public MapConfigurationProperty()
Properties
CustomLayers
Specifies the custom layers for the style.
public string[] CustomLayers { get; set; }
Property Value
System.String[]
Remarks
Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as the POI
layer for the VectorEsriNavigation style.
Currenlty only VectorEsriNavigation
supports CustomLayers. For more information, see Custom Layers .
PoliticalView
Specifies the map political view selected from an available data provider.
public string PoliticalView { get; set; }
Property Value
System.String
Remarks
Style
Specifies the map style selected from an available data provider.
public string Style { get; set; }
Property Value
System.String
Remarks
Valid Esri map styles :
Valid HERE Technologies map styles :
The <code>VectorHereContrast</code> style has been renamed from <code>VectorHereBerlin</code> . <code>VectorHereBerlin</code> has been deprecated, but will continue to work in applications that use it.
Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.
Valid GrabMaps map styles :
Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region ( <code>ap-southeast-1</code> ). For more information, see <a href="https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area">GrabMaps countries and area covered</a> .
Valid Open Data map styles :