问题描述
看来,Geovisualization与您的映射SDK的JS Framework 3.1不兼容.您是否打算对其进行更新?还是可以提供替代品?
it seems that the Geovisualization is not compatible with the JS Framework 3.1 of your mapping SDK. Are you planning on updating it ?Or can you provide a replacement ?
以下是所用文档的链接: https://developer.here.com/documentation/geovisualization/dev_guide/topics/overview.html
Here is the link to the doc used: https://developer.here.com/documentation/geovisualization/dev_guide/topics/overview.html
应该通过添加以下脚本来使用它:
It supposed to be used by adding this Script :
<script type="text/javascript" src="https://js.cit.datalens.api.here.com/2.6.1/mapsjs-datalens.js"></script>
以及新版本的错误:
Uncaught TypeError: Cannot read property 'RenderEngine' of undefined
at Object.<anonymous> (mapsjs-datalens.js:12)
at e (mapsjs-datalens.js:8)
at Object.<anonymous> (mapsjs-datalens.js:12)
at e (mapsjs-datalens.js:8)
at Object.<anonymous> (mapsjs-datalens.js:12)
at e (mapsjs-datalens.js:8)
at Object.<anonymous> (mapsjs-datalens.js:8)
at e (mapsjs-datalens.js:8)
at mapsjs-datalens.js:8
at mapsjs-datalens.js:8
推荐答案
不幸的是,Geovisualization API与最新的HERE JavaScript API 3.1不兼容,并且没有计划对其进行更新.
Unfortunately the Geovisualization API is not compatible with latest HERE JavaScript API 3.1 and there is no plan to update it.
但是当前的HERE JavaScript API
能够处理95%的地理可视化用例.
But current HERE JavaScript API
is capable of 95% Geovisualization use-cases.
以下是动画标记示例的 jsfiddle 示例(基于地理可视化示例)
Here is jsfiddle example for animated markers example (based on Geovisualization example)
这篇关于Geovisualization API是否与JavaScript 3.1 SDK兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!