mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Protomaps on AWS
See installation and configuration instructions at Protomaps Docs: Deploy on AWS
Development
The code for the lambda function imports from the top level js/ directory. You will therfore need to first run npm install and npm run build in the js/ directory, and then run npm install in the serverless/aws directory.
You should then be able to build the Lambda ZIP:
npm run build-zip
Upload the resulting dist/lambda_function.zip using the Lambda console or copy and paste dist/index.mjs.
Test Events
JSON for simulating tile requests in the Lambda development console.
Lambda Function URLs:
{
"rawPath": "/my-tileset-name/0/0/0.mvt"
}
API Gateway (REST API with Lambda Proxy Integration):
{
"pathParameters": {
"proxy": "my-tileset-name/0/0/0.mvt"
}
}