简体   繁体   English

标记当前位置android google map?

[英]Marker current location android google map?

How I can use from bellow marker for my map ? 如何在波纹管标记器中使用地图?

I don't need to use mMap.setMyLocationEnabled(true); 我不需要使用mMap.setMyLocationEnabled(true); .I just need to this icon. 我只需要这个图标。

在此处输入图片说明

Try this : 尝试这个 :

GoogleMapOptions options = new GoogleMapOptions();
options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
    .compassEnabled(true)
    .rotateGesturesEnabled(false)
    .tiltGesturesEnabled(false);

for details check this link. 有关详细信息,请单击此链接。

https://developers.google.com/android/reference/com/google/android/gms/maps/UiSettings or https://developers.google.com/maps/documentation/android-api/controls https://developers.google.com/android/reference/com/google/android/gms/maps/UiSettingshttps://developers.google.com/maps/documentation/android-api/controls

I use from this link and good work : 我从这个链接和良好的工作中使用:

alazsbalazs 阿拉兹巴拉兹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM