We started to build a site on which the registered users will be able to add their own tourist points. So the page is for a region in Slovenia, which will have lots of tourist attractions each one with a point on map, images, description, comments .. Users will be able to connect this points and make their own trips and expose them on their profile. But if some tourist point is not yet available they will have the option to add their own point.

To give the user the best UX for adding a point, we would like to give them multiple options: providing lat-lng, type the address or select the point on map. The point is that if you want to add some museum, the easiest way it is by providing an address. But if you have some waterfall or some other natural beauty that doesn't have address, the easiest way it is to select it on map. We are now having troubles to combine these options. Leaflet widget is great for pointing a location on a map. But it would be great if there was an option to also provide a field for address input.

Or is there a better solutions for the problem on hand?

Comments

jpon’s picture

There is a leaflet plugin that provides search funcionality. The plugin's page is here https://github.com/smeijer/L.GeoSearch . It would be great if this feature could be added to the module.