【发布时间】:2026-02-21 07:30:01
【问题描述】:
我怎么会有goolge map的当前位置样式标记,它甚至可以显示当前位置的方向?
这是我的代码,我的代码的标记样式只是一个别针,我想要 具有谷歌地图的标记样式,甚至显示当前位置的方向。
_markerSet.add(
Marker(
markerId: MarkerId('current_Postion'),
infoWindow: InfoWindow(title: 'Current Position'),
position: _userCurrentPositionLatLng,
icon: BitmapDescriptor.defaultMarkerWithHue(
BitmapDescriptor.hueGreen,
),
),
这就是我的标记的样子 enter image description here
这是我想要的谷歌标记 enter image description here
有什么建议吗?
【问题讨论】: