Location update on geometry edit #2155
Replies: 3 comments 1 reply
-
|
I think the user flow should be as followed: Editing a location
Adding a new location
Or a few alternative thoughts:
|
Beta Was this translation helpful? Give feedback.
-
|
It is also possible to draw a geometry. A new geometry can be drawn overwriting the existing geometry. The new geometry can be generated with parameters to be stored. For example a circle or isoline geometry. In this case it would be much cleaner to update the geometry field and associated property fields and run the location update either manually or immediately if configured to do so. |
Beta Was this translation helpful? Give feedback.
-
|
Before toggling geometry edit confirm whether to store unsaved field values. During geometry edit disable location view. On save geometry do location update. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The geometry location entry module has it's own update method instead of using the location.update() method.
The reason for this being that we wanted geometry edits / updates to be immediate. ie. They don't require the user to save changes.
Having duplicate code for the geometry update method is not ideal. Especially if the geometry entry is linked other entries.
The easiest solution would be to call the location update method which would mean that any other outstanding changes are updated as well when a geometry value is modified.
Beta Was this translation helpful? Give feedback.
All reactions