-
Notifications
You must be signed in to change notification settings - Fork 916
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
map.getMyLocation() method result with success AND error callback #309
Comments
What error message is outputted? |
Here's what my code looks like. Because I'm using ionic, I'm firing $rootScope.$broadcast('initializeMap')
|
Just edit the |
Same problem here. |
getMyLocation is something buggy... I also faced a few problems. I recommend to use Cordovas Geolocation plugin for tracing your location and just to pass the results to google maps instead of relying on the interna function - till the bugs will be gone somedays - hopefully ;) |
I will do it this way. Thanks @hirbod |
I've this simple setup:
And when the map.getMyLocation() method is called BOTH callbacks are executed and the console has both outputs...
The text was updated successfully, but these errors were encountered: