3

我在 Android 上有一个自定义的 SKCalloutView,但尾巴跟随标记,这是我不想要的行为。

查看 iOS 的文档,我发现他们有方法“dynamicArrowPositioning”,但无法在 API 的 Android 版本上找到类似的方法。

有谁知道如何禁用动态箭头定位?

4

1 回答 1

1

您会在 SKCalloutView 类中找到“showAtLocation”方法 - 如果您想在地图上的指定坐标处显示标注(显示或隐藏尾部) http://developer.skobbler.com/docs/android/2.5。 1/com/skobbler/ngx/map/SKCalloutView.html#showAtLocation

或“重绘”-如果您只想修改视图位置并调整其大小 http://developer.skobbler.com/docs/android/2.5.1/com/skobbler/ngx/map/SKCalloutView.html#redraw()

于 2016-05-05T12:20:01.813 回答