Skip to content
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

Lat/Lng are being slightly changed on iOS #61

Closed
rafaelcoutinho opened this issue Apr 13, 2016 · 5 comments
Closed

Lat/Lng are being slightly changed on iOS #61

rafaelcoutinho opened this issue Apr 13, 2016 · 5 comments

Comments

@rafaelcoutinho
Copy link

Hi,

I'm using the API passing Lat/Lng as destinations, however for some reason they are getting "updated" on iOS. The original lat/lng
-23.254565,-47.232821
are becoming
-23.265697,-47.299124
I'm sure about the original lat/lng values, and when we select Gmaps I can see quickly the values passed to it which does not match.

What is the cause of this?

@rafaelcoutinho
Copy link
Author

now i have tried with:
-23,-47
and it becomes
22.996404,-47.002055

@rafaelcoutinho
Copy link
Author

Humm found out why, it ALWAYS force a reverse geocode on my initial coordinates, and since the coordinates are not in town, it "fixes" it. However Waze can find the location with the original coordinates. I'm forking and make a hotfix, but eventually I'll try to send a PR.

@dpa99c
Copy link
Owner

dpa99c commented Apr 20, 2016

Fixed by commit 6deeace

@dpa99c dpa99c closed this as completed Apr 20, 2016
@rafaelcoutinho
Copy link
Author

Well I just didn't understand why we need the reverse geocoding.

I have done a different solution in here:
https://github.com/rafaelcoutinho/phonegap-launch-navigator

@coderroggie
Copy link

I agree with @rafaelcoutinho. I've found some of the mapping solutions to be completely off-base when used, so I would prefer to be able to send them straight to and always straight through to google maps without the geo-coding. Any chance we could get an option like he has implemented in this plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants