PlaceIndex
Source:
src/AWS/Location/PlaceIndex.ts
An Amazon Location Service place index. A place index geocodes text and positions against a chosen data provider. The data source is immutable; the intended use and description can be updated in place.
Creating Place Indexes
Section titled “Creating Place Indexes”Basic Place Index
import * as Location from "alchemy/AWS/Location";
const index = yield* Location.PlaceIndex("Places", { dataSource: "Esri",});Storage-Intent Place Index
const index = yield* Location.PlaceIndex("Geocoder", { dataSource: "Here", intendedUse: "Storage", description: "Cacheable geocoding index",});