-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Asana task: https://app.asana.com/1/77063628301548/project/1204166279674278/task/1212235435727537?focus=true
User AC
- The app should offer the same location options as typical Kobo collect (mobile apps):
- Option 1: Tap to record the current position
- Option 2: Manual location entry
- Option 3: Automatic location recording (optional for this Phase)
- Users can start, pause, and save recorded location points (latitude, longitude[, timestamp]).
- Users can reset/clear existing recorded locations.
Tech AC
- Use the native JavaScript Geolocation API: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API
- Add a layer control (UI) to Start / Pause / Save location recording.
- Add a button to Reset / Clear existing recorded locations.
- Store recorded locations in Antd global store values form. this value can get by this function
-
`const currentValue = form.getFieldValue([id]);` - Ensure saved entries include latitude and longitude (and optionally timestamp) for each point.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels