aloisdeniel / flutter_geocoder

Flutter plugin for forward and reverse geocoding
MIT License
185 stars 174 forks source link

Web support? #39

Open Bilonik opened 4 years ago

stevenosse commented 4 years ago

Since this package uses platform specific code and features i don't think this will be available soon...

aloisdeniel commented 4 years ago

Yep, the only web browser API available seems to be geolocation (https://developer.mozilla.org/fr/docs/Web/API/Geolocation_API).

giorgio79 commented 3 years ago

You can use Google Geocoding API. A simple http call... https://developers.google.com/maps/documentation/geocoding/overview

tehsunnliu commented 3 years ago

Hi, In geocoder package if we use Geocoder.google(...) it uses Dart's HttpClient to forward and reverse geocoding. However, the dart HttpClient doesn't support the web. I've created a PR fixing this issue adding support for the web.