Sunday, April 7, 2013

Display my Location - Google maps API V2


All we need to do is to use the method setMyLocationEnabled(boolean enabled) which enables the my-Location layer.
Like that :

private GoogleMap mMap;
mMap.setMyLocationEnabled(true);

No comments:

Post a Comment