Convert online map into a tile server. For maps not available as tiles.
You can use the tile server for some service needing tile server, e.g. Leaflet.
Currently supports Amap (高德地图). Still under early development.
for Linux/MacOS:
AMAP_KEY=YOUR_AMAP_KEY AMAP_SECRET=YOUR_AMAP_SECRET POOL_SIZE=8 npm startFor Windows:
$env:AMAP_KEY="YOUR_AMAP_KEY"; $env:AMAP_SECRET="YOUR_AMAP_SECRET"; $env:POOL_SIZE="8"; npm startPOLL_SIZE defines browser sessions of maps.
Tile server running at http://localhost:3000, and tile URL format: http://localhost:3000/{z}/{x}/{y}.png
MIT.