Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide current location in google map? [closed]

Tags:

I have implemented google map in my project and i want to hide my current location marker and i need to show the button which allow to go my current location.

As the google provides current location button but i want to hide current location marker. I am attaching image the will more helps you in understanding the problem.

I want to hide the blue icon from google map

like image 643
Jatin Avatar asked Mar 12 '15 11:03

Jatin


1 Answers

You can disable it from with your Google Map instance (here called "map")

map.setMyLocationEnabled(false);
map.getUiSettings().setMyLocationButtonEnabled(false);
like image 78
Guillaume agis Avatar answered Sep 18 '22 14:09

Guillaume agis