azavea / tilegarden

Serverless raster and vector map tile generation using Mapnik and AWS Lambda
https://azavea.github.io/tilegarden/
Other
97 stars 7 forks source link

Modify map config as JS object #137

Closed KlaasH closed 5 years ago

KlaasH commented 5 years ago

Overview

Rather than converting the Mapnik XML to a JS object and back to XML for each step of filtering/modifying it (since there are a handful of steps) this changes to converting it at the beginning and having the filters and processing functions pass around and modify the object. Then it converts back to XML at the end.

This also switches the base map on the demo pages to Carto Positron, since the one they were using has disappeared.

Notes

Testing Instructions

Tests and demos should work the same.

Connects #129