Skip to content
GitHubXDiscordRSS

Map

Learn how to create, update, and manage AWS Location Maps using Alchemy Cloud Control.

The Map resource lets you manage AWS Location Maps for geospatial applications and services.

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"
}
});

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"
});

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" }
]
});

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
});