How can I have that blue mask on my application?

Asked

Viewed 43 times

2

I would like to know how to implement this Marketing in my app? inserir a descrição da imagem aqui

1 answer

5


After obtaining a map reference use the method setMyLocationEnabled.

mGoogleMap.setMyLocationEnabled(true);

You should declare the following permissions on Androidmanifest.xml:

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  • Thank you very much solved my problem

Browser other questions tagged

You are not signed in. Login or sign up in order to post.