Skip to content

Update cursor on map after geocoding when proposal has address #27

@virgile-dev

Description

@virgile-dev

Is your feature request related to a problem? Please describe.
Geocoding works well with adresses with numbers, what if I want to pin a point in a park or a forest, well it just doesn't work.

Describe the solution you'd like
You can get close enough to what you want pin by putting the forest name instead of the address but if I want to pin to the exact place I want to then I need to be able to move the pin on the map myself before publishing.

This is also super useful when the geocoder is wrong and maps my address wrongly. Being able to see a preview and change the pin position it is then super usefull especially when try to have a cluster on a precise perimeter and of your address was geocoded in Brazil instead of Lille in France (true story).

Describe alternatives you've considered
Nope.

Additional context
Accepted Meta Decidim proposal : https://meta.decidim.org/processes/roadmap/f/122/proposals/13116

We did a version of this on our fork you can test it here : https://demo.decidim.opensourcepolitics.eu/processes/modules-decidim/f/2/

User side

In the preview page show the map and add a message that indicates that user can change the position.
Capture d’écran 2020-06-18 à 18 05 51

Admin side

After creating its proposal the admin can go back in the edition form to update the position on the map. The new position is saved when he clicks on update at the bottom of the page.
Update cursor on map

Does this issue could impact on users private data?
No

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions