这里地图位置指针罗盘头? [英] Here Map Location pointer compass head?

查看:68
本文介绍了这里地图位置指针罗盘头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里地图跟随者可以将罗盘头应用于map.getPositionIndicator().setVisible(true);如果是,请告诉我答案.

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

推荐答案

理论上,您可以更改位置指示器的图像.但是不支持旋转图像,因此您需要永久替换图像. 总而言之,我想一个人做起来要容易得多(也更灵活).

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

一条评论:我使用LocalMapObject而不是MapMarker,因此可以激活动态缩放和轻松旋转.

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

这篇关于这里地图位置指针罗盘头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆