Map
The Map resource lets you manage AWS Location Maps for geospatial applications and services.
Minimal Example
Section titled “Minimal Example”Create a basic map with essential properties including a name and configuration:
import AWS from "alchemy/aws/control";
const basicMap = await AWS.Location.Map("basicMap", {  MapName: "BasicMap",  Configuration: {    Style: "VectorEsriStreet"  }});Advanced Configuration
Section titled “Advanced Configuration”Configure a map with a description and a pricing plan for enhanced features:
const advancedMap = await AWS.Location.Map("advancedMap", {  MapName: "AdvancedMap",  Description: "An advanced map for geospatial services.",  Configuration: {    Style: "VectorEsriImagery"  },  PricingPlan: "RequestBased"});Using Tags
Section titled “Using Tags”Create a map with tags to help organize and manage resources:
const taggedMap = await AWS.Location.Map("taggedMap", {  MapName: "TaggedMap",  Configuration: {    Style: "VectorEsriTopographic"  },  Tags: [    { Key: "Project", Value: "GeospatialAnalysis" },    { Key: "Environment", Value: "Production" }  ]});Adopting Existing Resources
Section titled “Adopting Existing Resources”If you need to adopt an existing map without creating a new one, you can set the adopt property to true:
const adoptedMap = await AWS.Location.Map("adoptedMap", {  MapName: "ExistingMap",  Configuration: {    Style: "VectorEsriNavigation"  },  adopt: true});