Contains the resources to serve maps to public web applications using Amazon Location Service Maps developed using AWS CDK in TypeScript.
Install the dependencies:
npm ci# Configure the stack name
# export MAP_STACK_NAME=...
npx cdk bootstrap # if this is the first time you use CDK in this account
npx cdk deploy --allStore the mapName output in the parameter registry.
Store the mapRegion output in the parameter registry.
Display the API key using
aws location describe-key --key-name ${MAP_STACK_NAME:-hello-nrfcloud-map}-apiKey | jq '.Key'Store the API key in the parameter registry as mapApiKey.
This project requires Node.js >=22 and npm >=12.0.2 <13 (enforced via
check-node-version on npm install and npm ci).
The check is skipped during npm publish and npm pack, because
semantic-release bundles its own npm (@semantic-release/npm depends on
npm@^11.6.2) and runs the publish with that version rather than the one
installed in CI.