abaculus
abaculus copied to clipboard
Library for creating static maps from tiles based on center or corner lng,lat coordinates. Uses node-blend.
Hi, is it possible to create a functionality to place markers on the rendered map, based on lat,lng?
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15. Commits - [`ddfd9b1`](https://github.com/lodash/lodash/commit/ddfd9b11a0126db2302cb70ec9973b66baec0975) Bump to v4.17.15. - [`b185fce`](https://github.com/lodash/lodash/commit/b185fcee26b2133bd071f4aaca14b455c2ed1008) Rebuild lodash and docs. - [`be87d30`](https://github.com/lodash/lodash/commit/be87d303941222b97c482755afc0f4a77ce46c30) Bump to v4.17.14. - [`a6fe6b1`](https://github.com/lodash/lodash/commit/a6fe6b1e174fd02b5e60eb2664405f4c1262c300) Rebuild lodash and docs. -...
Tried to move my project to Node v10 and abaculus barks: ``` $ npm i @mapbox/abaculus > [email protected] install /tmp/mapnik/node_modules/@mapbox/abaculus/node_modules/mapnik > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.7.2/node-v64-linux-x64-Release.tar.gz...
The way it is calculated makes abaculus work only for scale = 1. Also, changing the test case with an example easier to check and to reflect the new calculations....
Currently if you request a 256 x 256 tile that exactly lines up with an actual tile you will actually end up downloading 3 extra tiles because of an off...
Hello, I have just been looking at this api and tested out the example code from issue #11 which works great. The issue arrises when I change the scale. If...
I see a function named `zoomTo`. But this function is not implemented anywhere. I checked the history of this file, and found out this function was introduced in the initial...
The width calculated by coordsFromBbox() is base_width \* scale *scale, which should be base_width \* scale. Let check out: ``` console.log(abaculus.coordsFromBbox(0, 2, [-180, -85.0511, 180, 85.0511], 19000, 256)) console.log(abaculus.coordsFromCenter(0, 2,...
I found vector.pbf [here](https://github.com/mapbox/abaculus/blob/master/index.js#L211-L213). Actually, mapnik.blend does not support vector tile blending. So those lines of code should be deleted to avoid confusion