I\'m getting confused when my blue dot icon is dissapeared. The past is i can show the blue dot icon. But now it just zoom the camera on my current location without blue dot
Write the following -
mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(myLoc, 15));
Maximum zoom view can be upto 20.
In Kotlin :
map.isMyLocationEnabled = true
NOT to be confused with :
map.uiSettings.isMyLocationButtonEnabled = true
I've used it in my project. And here is the result :
For embeded view, check out Page 35, here
You need to do as following:
GoogleMap myMap;
myMap.setMyLocationEnabled(true);
You can get all sample project code on my github here and try yourself:)