Android Question Google Map and coarse location

peacemaker

Expert
Licensed User
Longtime User
HI, All

If GPS is allowed - Google Map's gmap.MyLocation.IsInitialized = true.
But if disable GPS - how to make it working with other coordinates sources ?
 

peacemaker

Expert
Licensed User
Longtime User
Thanks, i know about this lib, but question is not to get the coordinates - but how to setup Google Map object to initialize\show the current location not only by GPS? Is it possible to combine FusedLocation lib with Google Map lib ?
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
I thought so also, but .MyLocation is not initialized at all if to wait long, if GPS is not allowed, but allowed "battery economizing" variant, WiFi\network location provider.

#AdditionalJar: com.google.android.gmslay-services-location is already also added, in addition to
#AdditionalJar: com.google.android.gmslay-services-maps
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Thank you, Erel, for help that is important for all Google Map developers.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…