NokiaHere maps rendering issue after upgrading to 3.1 version

157 views Asked by At

I am migrating Here javascript libraries (3.0 to 3.1) on an Ember.js v2.18 project because the v3.0 Here libraries don't support apiKey authentication (appCode and appId will no longer be generated).

When trying to create a map object with the following code :

let map = new H.Map(this.$('#map')[0], defaultLayers.raster.satellite.map);

the following error occurs : Tangram [error]: Scene.load() failed to load blob:http://localhost:4200/0d8aefdf-160f-47ca-8672-04d73de528eb: e[Symbol.iterator] is not a function TypeError: "e[Symbol.iterator] is not a function".

Can someone explain to me the meaning of this issue or any workaround to render the map correctly ?

Thank you in advance for your help ! :)

1

There are 1 answers

3
AudioBubble On

Try please instead of vector the raster engine see please the example on jsfiddle.net/ufz3w5tm Note on mapsjs-core-legacy.js and mapsjs-service-legacy.js in HTML section Note on engineType: H.Map.EngineType.P2D by map defination