Is Geovisualization API compatible with JavaScript 3.1 SDK?

元气小坏坏 提交于 2020-05-31 20:29:36

问题


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 ?

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>

And the error with the new version:

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

回答1:


Unfortunately the Geovisualization API is not compatible with latest HERE JavaScript API 3.1 and there is no plan to update it.

But current HERE JavaScript API is capable of 95% Geovisualization use-cases.

Here is jsfiddle example for animated markers example (based on Geovisualization example)




回答2:


Unfortunately no, Geovisualization/Data Lens API is not compatible with JS API 3.1. At the moment there are no plans to update or replacing the same.



来源:https://stackoverflow.com/questions/59993889/is-geovisualization-api-compatible-with-javascript-3-1-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!