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 polygon path support #18

Open
l4nos opened this issue Apr 15, 2024 · 1 comment
Open

Add polygon path support #18

l4nos opened this issue Apr 15, 2024 · 1 comment

Comments

@l4nos
Copy link

l4nos commented Apr 15, 2024

I would like to be able to draw a polygon or line on the map which is possible with the standard static maps API.

I'm happy to write the method into the class and do a PR if you would accept. Would rather contribute than just fork and forget.

Essentially the consuming dev would feed in a GeoJSON array of lat,long pairs which correspond to the points of the polygon. We could also allow for the insertion using WKT strings like POLYGON.

If you are happy, say the word and i'll PR.

@mastani
Copy link
Owner

mastani commented Apr 15, 2024

Thank you for the suggestion. It would be great. Please send a PR and I'll merge it.

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

No branches or pull requests

2 participants