Skip to content

Center map on organization's territory #355

@virgile-dev

Description

@virgile-dev

Is your feature request related to a problem?
On participez.nanterre.fr geocoding functionnality is activated. One problem though the only proposal that was submitted with an address was geocoded in Belgium because the citizen submitting it didn't add specify the city name in the address field.
capture d ecran 2018-12-04 a 18 33 24

This causes the map to be centered on some random place in Belgium instead of Nanterre which is quite problematic. Even if other proposals were geocoded on Nanterre we'd still have a problem with how the map is centered.

Describe the solution you'd like
A short term solution to this would be to center the map on Nanterre like we did for mel.osp.cat.
Because the map is centered on the right territory geocoding messups are less visible.
capture d ecran 2018-12-04 a 18 31 57

It feels like a better solution than modifying in db the latitude and longitude every time it doesn't work.

Describe alternatives you've considered
A more long term alternative would be to dynamically propose addresses based on what the user is typing.

Another one would be to add Nanterre by default to the address.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions