Propose new features
Designing Decidim together
Ability to use reverse geocoding
Is your feature request related to a problem? Please describe.
We were working on a module last year where you could not only add pins to the map of a proposal by the simple address geocoding, but also by clicking the map, which used the coordinates of the pins to fetch the addresses for the form. Simple geocoding was handled using the tools Decidim offered, but with the reverse geocoding we had to build the code from scratch.
Describe the solution you'd like
At the moment Decidim only supports address geocoding which allows the user to input an address and get the coordinates for it. However having reverse geocoding possibility ready in Decidim would benefit developers that want to create new modules for example.
Could this issue impact on users private data?
Something similar was proposed here: Position cursor on map to enter address
List of Endorsements
Report inappropriate content
Is this content inappropriate?
You are seeing a single comment
View all comments
At the moment if you move the pin around the map after writing the address it only updates the coordinates, not the address based on the coordinates. The proposal is indeed for the ability to click the map to mark a spot instead of writing an address on the input field.
Decidim has it's own reverse-geocoding logic in the backend (the one you're using in your module) but the goal would be to have reverse-geocoding in the frontend by calling the provider's -API (for example. "HERE") without any extra steps, like it does with simple-geocoding (https://github.com/decidim/decidim/blob/develop/decidim-core/app/packs/src/decidim/geocoding/provider/here.js).
This would be more efficient for the user, boosts the performance and also there would be no need to use modules for it.
Loading comments ...