I would like to create a form where a user enters an address of a place and it will be stored in a database in latitude / longitude. I did a little research on google and I am lost. One knows either a class or service (php, Symfony) to convert an address into latitude / longitude
Need help please, thanks in advance
You can probably use BazingaGeocoderBundle to implement it, just add it to your composer. Is probably one of the best tools for this purpose...
https://github.com/geocoder-php/BazingaGeocoderBundle
https://github.com/geocoder-php/BazingaGeocoderBundle/blob/master/Resources/doc/index.md
it uses Geocoder
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.