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

Add support for features #13

Open
sgraaf opened this issue Nov 10, 2022 · 1 comment
Open

Add support for features #13

sgraaf opened this issue Nov 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sgraaf
Copy link
Owner

sgraaf commented Nov 10, 2022

Add support for rendering features (i.e. shapes such as lines and polygons).

PaperMap uses Pillow for the rendering of the map image. Pillow's ImageDraw module provides all the methods we need for building out this feature.

@sgraaf sgraaf added the enhancement New feature or request label Nov 10, 2022
@sgraaf sgraaf changed the title Add support for features (i.e. text and shapes) Add support for features (i.e. shapes such as lines and polygons) Nov 10, 2022
@sgraaf sgraaf changed the title Add support for features (i.e. shapes such as lines and polygons) Add support for features Nov 10, 2022
@sgraaf
Copy link
Owner Author

sgraaf commented Nov 10, 2022

StaticMap already has this functionality. Their implementation looks like this:

https://github.com/komoot/staticmap/blob/2f020d1805798f1690758c0fc59973e4baec8538/staticmap/staticmap.py#L452-L517

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

No branches or pull requests

1 participant