Here Map Location pointer compass head?

倖福魔咒の 提交于 2019-12-13 19:34:26

问题


Here map followers does compass head can be applied to map.getPositionIndicator().setVisible(true); if yes please share me the answer.


回答1:


In theory you can change the image of the position indicator. But rotating the image is not supported, so you would need to replace the image permanently. All in all, I'd say it's much easier (and more flexible) to do this on your own.

Here's a full working example:

https://tcs.ext.here.com/sdk_examples/CustomPositionMarker.zip

One comment: I use a LocalMapObject instead of MapMarker, so I can activate dynamic scaling and easy rotation.



来源:https://stackoverflow.com/questions/36418698/here-map-location-pointer-compass-head

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!