Here Maps Android SDK v4 Explore Edition: 特定缩放级别下地图标记可见

huangapple go评论60阅读模式
英文:

Here Maps Android SDK v4 Explore Edition: Map marker visible from certain zoom level

问题

在Here Maps Android SDK v4 Explore Edition中,我没有看到一种在特定缩放级别下才可见的地图标记添加方法。我是否忽略了某些内容?在Here Maps Android SDK v3 Premium Edition中,这可以通过在创建标记时设置/配置标记的最小缩放级别来轻松实现。

我已经检查了MapMarker类的API以及MapView和MapScene,但没有找到有关地图对象的可见性与地图的当前缩放级别之间的依赖的信息。

英文:

In Here Maps Android SDK v4 Explore Edition I don't see a way to add map markers that are visible only from certain zoom level on. Do I overlook something? In Here Maps Android SDK v3 Premium Edition that was achieved quite easy by setting/configuring the minimum zoom level on the marker at it's creation.

I already checked the API of the MapMarker class as well as the MapView und MapScene but found nothing regarding the dependence of the visibility of the map objects and the current zoom level of the map.

答案1

得分: 1

这是在2023年3月2日发布的HERE SDK 4.13.4版本中提供的功能。地图标记类型具有名为visibilityRange的属性,用于设置每个缩放级别范围的可见性。

在线文档请参见此处:
https://developer.here.com/documentation/android-sdk-navigate/4.13.4.0/api_reference/com/here/sdk/mapview/MapMarker.html#setVisibilityRanges(java.util.List)

英文:

This is available with HERE SDK 4.13.4, released 2nd of March 2023. There map marker type has property visibilityRange to set the visibility per zoomlevel range.

See the docs online here:
https://developer.here.com/documentation/android-sdk-navigate/4.13.4.0/api_reference/com/here/sdk/mapview/MapMarker.html#setVisibilityRanges(java.util.List)

huangapple
  • 本文由 发表于 2023年3月3日 18:38:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/75625993.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定