Friday, 6 September 2013

Google Maps V2 setLocationSource removes blue MyLocation icon

Google Maps V2 setLocationSource removes blue MyLocation icon

I'm working on an indoor GPS application and I have my own location
provider that will give me lat and long. I have google maps v2 working
with my location provider by using
mMap.setMyLocationEnabled(true);
mMap.setLocationSource(myLocationProvider);
My problem is as I set the location source to my custom provider, the
little blue icon that displays onscreen location no longer functions. Is
this expected? Shouldn't google maps just use the lat/long to display the
current location, no matter where it comes from?

No comments:

Post a Comment