SQLpage icon indicating copy to clipboard operation
SQLpage copied to clipboard

Map Component - Ability to pass address instead of Lat/Long

Open f8dca opened this issue 1 year ago • 2 comments

Would it be possible to add a new parameter to the map component that would contain the address in plain text format ? In most real life use-case scenarios we have the physical address or name of the location and not a lat/lon pair.

When a plain text location is passed as parameter instead of lat/lon pair this should open: https://www.openstreetmap.org/search?query=Big%20ben%2C%20london

Thanks a lot

f8dca avatar Aug 15 '23 20:08 f8dca

This feature is not part of leaflet, so it would not be trivial to add...

lovasoa avatar Aug 19 '23 07:08 lovasoa

I think there are a lot of leaflet plugins for geocoding: https://leafletjs.com/plugins.html#geocoding

I'm not very well versed in javascript - no idea what would it take to use any of these plugins.

f8dca avatar Aug 19 '23 16:08 f8dca