heremaps / maps-api-for-javascript-examples

Self-contained examples for Maps API for JavaScript v3.
https://developer.here.com/javascript-apis/documentation/v3/maps
Other
191 stars 431 forks source link

Harp Engine - Draggable Marker Demo - performance issues #160

Open Mateusz-H opened 2 months ago

Mateusz-H commented 2 months ago

After recreating demo from ['here'] and changed app to use HARP from ['here'] the demo became unusable due to performance issues [checked on chrome and edge].

There should be no visible downsides when using HARP [performance should be at the same level]

Demo of Draggable Marker using HARP as engine

https://github.com/heremaps/maps-api-for-javascript-examples/assets/70590196/329993c9-d659-4235-8069-a29e3d1fdb06

Thanks for help.

Mateusz-H commented 2 months ago

This also may not be issues with performance but with the way updates are performed, so the draggable markerk on HARP seems to "lagging" but in reality we are just getting update only when we "stop" for a while. This should not be the case if i WANT marker to be "draggable"