enum CustomLayer
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Location.Alpha.CustomLayer |
Go | github.com/aws/aws-cdk-go/awscdklocationalpha/v2#CustomLayer |
Java | software.amazon.awscdk.services.location.alpha.CustomLayer |
Python | aws_cdk.aws_location_alpha.CustomLayer |
TypeScript (source) | @aws-cdk/aws-location-alpha » CustomLayer |
An additional layer you can enable for a map style.
Example
new location.Map(this, 'Map', {
mapName: 'my-map',
style: location.Style.VECTOR_ESRI_NAVIGATION,
customLayers: [location.CustomLayer.POI],
});
Members
Name | Description |
---|---|
POI | The POI custom layer adds a richer set of places, such as shops, services, restaurants, attractions, and other points of interest to your map. |
POI
The POI custom layer adds a richer set of places, such as shops, services, restaurants, attractions, and other points of interest to your map.
Currently only the VectorEsriNavigation map style supports the POI custom layer.