Display geopoint location on submission detail page #1791
Labels
bug
Something isn't working
effort:low
Likely a few hours
frontend
Related to frontend code
priority:low
Backlog of tasks that will be addressed in time
Milestone
Follow on from #1730
Describe the bug
When a new feature is submitted as a geopoint, we can view it in the validation table.
We don't have an easy way to validate the geometry location though.
Normally when a submission is viewed the geometry is loaded in an OpenLayers map, e.g.:
However for the submitted geopoint, nothing is loaded:
Solution
The submission detail page (e.g. https://dev.fmtm.hotosm.org/project-submissions/61/tasks/11533/submission/uuid:b2d1205c-72b2-4353-bf6c-1e1904fbf82e) should be able to load points as well as polygons.
Currently we parse the
xlocation
JavaRosa string from the submission:new_feature_point
key is present in the submission json:The text was updated successfully, but these errors were encountered: