问题标签 [heremaps-android-sdk]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
28 浏览

java - Android/Java: How to install a package country offline in HereMap?

I try to download the packages that I need for using the map offline, but nothing happens.

3.x based Premium Edition
I trie many ways like this documentation of HereMap, like this ticket or this ticket but nothing works, nothing is firing the download functions.

Here is my code:

EDIT:
newer 4.x Navigate Edition
Hi @datasun, I installed with the new SDK android heremap v3.19.4_227 with Offline Maps GitHub and it doesn't recognize lots of commands like: import com.here.sdk.mapview.MapView; in fact all the main import are not recognized com.here.sdk.mapview.x etc...

Here is are the main functions that cannot launch because of the import failure that is not present in the SDK:
Screen1
Screen2 Screen3

Impossible to use it, and the documentation is very poor on that point.

Do you have any ideas ?

0 投票
1 回答
12 浏览

heremaps - 无法在 Here Flutter SDK 中设置地图填充

在以前版本的 Here sdk 中,总是有一个设置填充的功能。它允许与应用程序 ui 重叠地图,并且仍然在可见地图部分内将多段线和多边形等对象居中。我在颤振 sdk 中找不到类似的属性。有其他选择吗?我检查了setPrincipalPoint(在相机上),但它只是改变中心点而不限制相机范围。

0 投票
0 回答
7 浏览

heremaps - 离线地图 HERE-SDK - 离线搜索和导航

我正在使用 HERE-Android-SDK 构建一个带有离线地图的简单导航解决方案。在使用离线模式进行地址搜索和路线计算时,我可以看到地址搜索返回的结果不包含在已安装的离线地图数据集中。为了只获得位于我设备上安装的离线地图数据中的搜索结果,我需要做些什么额外的事情吗?

我正在使用以下代码片段。

  • 下载特定国家的离线地图:
  • 地址搜索请求:

提前感谢您的所有帮助!

0 投票
0 回答
6 浏览

heremaps - HERE SDK 方向更改为时已晚

我正在使用 HERE-Android-SDK 构建一个带有离线地图的简单导航解决方案。为了自动居中和旋转地图(取决于用户的位置和方向),我正在使用PositioningManagerHERE-SDK 中的类。当活动导航正在运行时,方向更新似乎为时已晚。

我正在使用以下代码片段来执行此操作。

我能做些什么来避免太晚的方向更新吗?提前感谢您的所有帮助!