Files
PMTiles/serverless/aws/README.md

639 B

Installation

See installation and configuration instructions at Protomaps Docs: Deploy on AWS

Development

Building the Lambda ZIP yourself:

npm run build

Upload the resulting dist/lambda_function.zip using the Lambda console or copy and paste dist/index.mjs.

Test Events

Simulate tile requests in the Lambda development console with these JSON events:

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