1

SDK Unit Trace - Show Unit Direction Moment image

Тема: SDK Unit Trace - Show Unit Direction Moment image

Hi,

I have successfully developed Unit Trace for our website using http://sdk.wialon.com/playground/demo/unit_trace. But, I have to display the Unit direction Image along with unit image.

and Unit moving animation on track.

2

SDK Unit Trace - Show Unit Direction Moment image

(14/06/2016 17:16:14 отредактировано deal)

Re: SDK Unit Trace - Show Unit Direction Moment image

venujakku, if You are using Leaflet maps engine, You can add second marker to each unit and rotate it according to "c" parameter (course) of unit's position. Or rotate the main unit's icon.
You can use such Leaflet plugin: https://github.com/bbecquet/Leaflet.Pol … dMarker.js

For unit movement animation You may check this Leaflet plugin https://github.com/openplans/Leaflet.AnimatedMarker

Head of Wialon Local Department
Gurtam