> **Experimental**
>
> `@aws-cdk/aws-location-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# Style

The map style selected from an available data provider.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/map.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-location-alpha/lib/map.ts#L92)

## Example

TypeScript:

```ts
new location.Map(this, 'Map', {
  mapName: 'my-map',
  style: location.Style.VECTOR_ESRI_NAVIGATION,
  customLayers: [location.CustomLayer.POI],
});
```

Python:

```python
location.Map(self, "Map",
    map_name="my-map",
    style=location.Style.VECTOR_ESRI_NAVIGATION,
    custom_layers=[location.CustomLayer.POI]
)
```

Java:

```java
Map.Builder.create(this, "Map")
        .mapName("my-map")
        .style(Style.VECTOR_ESRI_NAVIGATION)
        .customLayers(List.of(CustomLayer.POI))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Location.Alpha
new Map(this, "Map", new MapProps {
    MapName = "my-map",
    Style = Style.VECTOR_ESRI_NAVIGATION,
    CustomLayers = new [] { CustomLayer.POI }
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdklocationalpha/v2
location.NewMap(this, jsii.String("Map"), &MapProps{
	MapName: jsii.String("my-map"),
	Style: location.Style_VECTOR_ESRI_NAVIGATION,
	CustomLayers: []pOI{
		location.CustomLayer_*pOI,
	},
})
```

## Members

| Member | Description |
| --- | --- |
| `VECTOR_ESRI_NAVIGATION` | The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. |
| `RASTER_ESRI_IMAGERY` | The Esri Imagery map style. |
| `VECTOR_ESRI_LIGHT_GRAY_CANVAS` | The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. |
| `VECTOR_ESRI_TOPOGRAPHIC` | The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. |
| `VECTOR_ESRI_STREETS` | The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. |
| `VECTOR_ESRI_DARK_GRAY_CANVAS` | The Esri Dark Gray Canvas map style. |
| `VECTOR_HERE_EXPLORE` | A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. |
| `RASTER_HERE_EXPLORE_SATELLITE` | A global map containing high resolution satellite imagery. |
| `HYBRID_HERE_EXPLORE_SATELLITE` | A global map displaying the road network, street names, and city labels over satellite imagery. |
| `VECTOR_HERE_CONTRAST` | The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering. |
| `VECTOR_HERE_EXPLORE_TRUCK` | A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics. |
| `VECTOR_GRAB_STANDARD_LIGHT` | The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. |
| `VECTOR_GRAB_STANDARD_DARK` | The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia. |
| `VECTOR_OPEN_DATA_STANDARD_LIGHT` | The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. |
| `VECTOR_OPEN_DATA_STANDARD_DARK` | Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. |
| `VECTOR_OPEN_DATA_VISUALIZATION_LIGHT` | The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. |
| `VECTOR_OPEN_DATA_VISUALIZATION_DARK` | The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data. |

## Referenced by

- [`MapProps`](/v2/docs/@aws-cdk_aws-location-alpha.MapProps).style
