Command disabled: backlink

Message closest to specified time

When track layer is rendered, you can get message closest to specified time (used in track player, hittest tool, etc.). Value of time must be between values for which track layer was rendered. To get such message, use the request:



Name Description
rname renderer name (see Create image renderer)
unit_id unit ID
lname layer name
time time
revert order of search: false - direct, true - reverse


	"msg":{			/* current message */
	"_msg":{		/* previous message */
	"index":<uint>		/* index of current message */

Formats of current and previous messages are described in the chapter Data format: Message with data.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon   |   Copyright © 2002-2023 Gurtam