ConservationMetrics / mapgl-tile-renderer

Headless Node.js Maplibre-GL renderer for generating MBTiles with styled raster tiles.
MIT License
6 stars 3 forks source link

Add support for fetching from online sources (starting with Bing Maps API) #5

Closed rudokemper closed 5 months ago

rudokemper commented 5 months ago

Closes #3.

Goal

The goal of this PR is twofold: (1) To make it possible to use the application and CLI to fetch tiles from an online source, in addition to a local source. (2) To use this new functionality to fetch tiles from the Bing Maps (VirtualEarth) API.

Screenshots

image MBTiles compiled using Bing maps imagery (node src/cli.js --style "no" --bounds "12.46810,67.61450,15.43150,68.49630" -Z 8 --onlinesource "bing")

What I changed

What I'm not doing here