我正在使用Here iOS SDK。我通过以下方式设置位置指示器:
let mapMarker = NMAMapMarker(geoCoordinates: NMAGeoCoordinates(), icon: nmaImage)
mapView.positionIndicator.set(displayObject: mapMarker, toLayer: NMAMapLayerType.foreground)
可以,但是位置指示器位于屏幕中央。我需要设置一些偏移(或填充),以便在中心下方显示位置指示器的方式(一些偏移或填充),以便驾驶员可以看到更多的前方道路。
答案 0 :(得分:1)