Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose buffer-geojson conversion method #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jczaplew
Copy link

Simply expose the function readTile as fromBuffer in the exports. This allows one to use this library in situations in which the tile has already been loaded but needs to be converted. In my case, I was writing tests for a tileserver with supertest and wanted to validate that all expected layers were returned in the protocol buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant