carbon-fields icon indicating copy to clipboard operation
carbon-fields copied to clipboard

[Feature Request] Open Street Map or Mapbox for map field

Open GasimGasimzada opened this issue 6 years ago • 10 comments

Since Google maps is not free for a while now, would there be an interest to add Mapbox, OSM API (or any other provider for that matter) for the map field and let the user choose which provider they want (e.g Field::make( 'make', ...)->set_provider( 'mapbox' );)?

GasimGasimzada avatar Dec 01 '18 13:12 GasimGasimzada

Hello, to follow up the message, is it possible to replace Google maps with OpenStreetMap ?
thank you for your feedback?

sz-33 avatar Sep 21 '20 14:09 sz-33

Hello, I'm very interesting too. Thank you :)

MathieuGodard avatar Dec 15 '20 06:12 MathieuGodard

I think it would be better if this feature was available

sabrysuleiman avatar Nov 07 '21 22:11 sabrysuleiman

This feature is not on the roadmap at the moment.

However, PR is welcome :)

jorostoyanov avatar Nov 08 '21 07:11 jorostoyanov

This feature is not on the roadmap at the moment.

However, PR is welcome :)

Thank you very much.

TCB13 avatar Mar 11 '22 17:03 TCB13

It would be great to have this functionality :)

tambaqui avatar Jul 05 '22 09:07 tambaqui

It would be very interesting to have it

limogin avatar Jul 05 '22 09:07 limogin

To anyone waiting, feel free to try out #1137 and let me know if you're facing any issues :)

bjoluc avatar Dec 19 '22 15:12 bjoluc

The PR from @bjoluc looks good, any chance of a review @jorostoyanov ?

joaquimds avatar Jun 07 '23 15:06 joaquimds

Because the PR by @bjoluc sadly hasn't been implemented yet, I've developed a plugin with similar functionality. It adds a custom Carbon Field (leaflet_map) and uses Leaflet.GeoSearch under the hood. Hope it's useful to others!

MaxGruson avatar Mar 01 '24 18:03 MaxGruson