I want to show my current location using custom Latitude and Longitude, I have set latitude and longitude in Location object like this :
Location location = new Location ("");
location.setLatitude(lat);
location.setLongitude(lon);
After that I call onLocationChanged(location) method, where the method is like this :
@Override
public void onLocationChanged(Location location) {
// TODO Auto-generated method stub
mLatitude = location.getLatitude();
mLongitude = location.getLongitude();
LatLng latLng0 = new LatLng(mLatitude, mLongitude);
mGoogleMap.moveCamera(CameraUpdateFactory.newLatLng(latLng0));
mGoogleMap.animateCamera(CameraUpdateFactory.zoomTo(12));
}
The map was show, but not showing my current location with blue dot like usual, anybody can help ?