Map
Source:
src/AWS/Location/Map.ts
An Amazon Location Service map resource. A map exposes vector/raster tiles, glyphs, and sprites for a chosen base style. The map style is immutable; the political view and description can be updated in place.
Creating Maps
Section titled “Creating Maps”Basic Map
import * as Location from "alchemy/AWS/Location";
const map = yield* Location.Map("AppMap", { configuration: { style: "VectorEsriNavigation" },});Map with Political View
const map = yield* Location.Map("RegionMap", { configuration: { style: "VectorHereExplore", politicalView: "IND" }, description: "Map with India political view",});