-
Notifications
You must be signed in to change notification settings - Fork 8
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
Editing #387
base: main
Are you sure you want to change the base?
Editing #387
Conversation
Gets rid of two console error messages: - "Warning: Circle2: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead." - "Warning: CircleSwatch2: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead." See: casesandberg/react-color#888
|
I updated the vite config and license report config to get the samples to build. Nitpick: the react-color dependency looks unmaintained and references some very old packages (e.g. |
|
Editing capabilities are, of course, a central part of many GIS apps. However, the current implementation is limited to polygons and the OGC Features API.
This pull request suggests a more general-purpose editing solution, which evolved throughout one of our projects. Features include:
To test this implementation, open the following local sample: http://localhost:5173/samples/editing-sample/. For ease of testing, this sample saves the created features to the browser's IndexedDB.
This solution is not expected to be feature-complete or to meet everyone's needs. For one thing, it is still lacking documentation.
(screenshots: 1, 2)