flutter_geocoder icon indicating copy to clipboard operation
flutter_geocoder copied to clipboard

Web support?

Open Bilonik opened this issue 5 years ago • 4 comments

Bilonik avatar Apr 01 '20 14:04 Bilonik

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

stevenosse avatar Apr 12 '20 00:04 stevenosse

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

aloisdeniel avatar Apr 12 '20 08:04 aloisdeniel

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

giorgio79 avatar Dec 09 '20 00:12 giorgio79

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.

tehsunnliu avatar Jul 22 '21 18:07 tehsunnliu