-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
placemarkFromAddress implementation is missing #17
Comments
@DominicOcean with the migration of the geocoding features from the geolocator plugin into the geocoding plugin the To use it you can give it an address (in string format) and you'll receive back the coordinates found matching the string. I am not sure what you mean with the "Documentation on the Flutter website". The documentation of the geocoding plugin seems to mention the correct functionality: https://pub.dev/packages/geocoding |
I having problems getting the Position from the Location, in the previous version placemarkFromAddress[0].position was the method to call the Position but now it is a Location. |
@victor045, what is the exact problem you are having? Can't simply get the coordinates from the returned instance of the |
P.S. I just merged a PR (#21) which contains an update for the documentation. I completely looked over it. |
Hi! I think what @victor045 is saying is that before,, with
Moreover in the Here is a quick example that compares both solution:
NEW WAY
I do not know if there are any reasons about this changes, it seems weird to me but I might have missed some limitations/issues with the old way. Glad to hear about your opinion |
Is there any news about this? |
setState(() { |
Geolocator().placemarkFromAddress is not working this method same like and provide accurate latitude and longitude of any address and mark and also set camera position on your searching place. |
FYI: The platform interface and Android packages have been updated to include this functionality. Once the iOS implementation is finished we can go ahead and hook it up to the |
placemarkFromAddress was supposed to be moved from geolocator plugin starting with v6 and it did disappear, but it has never been implemented in geocoding plugin.
Documentation on Flutter website for the plugin is of very poor quality e.g. one of examples refers to placemarkFromAddress, but the code is for locationFromAddress. Also hyperlinks to Apple and Android documentation do not point to anything
I need to be able to feed a string with an address and get back matches and that's what placemarkFromAddress was for.
The text was updated successfully, but these errors were encountered: