![](/img/trans.png)
[英]how to moves map on google map but keep marker as current location in android?
[英]Marker current location android google map?
嘗試這個 :
GoogleMapOptions options = new GoogleMapOptions();
options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
.compassEnabled(true)
.rotateGesturesEnabled(false)
.tiltGesturesEnabled(false);
有關詳細信息,請單擊此鏈接。
https://developers.google.com/android/reference/com/google/android/gms/maps/UiSettings或https://developers.google.com/maps/documentation/android-api/controls
我從這個鏈接和良好的工作中使用:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.