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

Draw Tools #52

Open
cmenedes opened this issue Jun 18, 2021 · 0 comments
Open

Draw Tools #52

cmenedes opened this issue Jun 18, 2021 · 0 comments

Comments

@cmenedes
Copy link
Collaborator

We should add a set of drawing tools that can be inherited from OpenLayers classes. The user should be able to draw various shapes and save their drawing locally as geojson (and save the styled features as well). They should also be able to modify any existing drawings. I imagine it should be formatted as such:

Canvas (the basemap)
Shape/Geometry Type (Point, Circle, Polygon, LineString)
Color (Stroke & Fill with color pickers)
Save as GeoJSON/Load GeoJSON

Here is an example drawn in MS Paint for how i'd visualize it on the examples page...

image

Some classes of interest from OpenLayers:
ol/interaction/Draw
ol/interaction/Modify
ol/interaction/Snap
ol/format/GeoJSON

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

No branches or pull requests

1 participant