1

How to Customize Unit Tooltips in Wialon SDK?

Тема: How to Customize Unit Tooltips in Wialon SDK?

Hello, I'm working on a project using the Wialon SDK and need help customizing unit tooltips on the map. By default, tooltips display basic information like unit name, speed, and time. However, I want to add custom data fields, such as fuel level, sensor status, and driver name.

I've checked the SDK documentation and found methods for retrieving unit data, but I'm unsure how to properly inject this information into the tooltip while keeping it responsive and dynamic.

Has anyone implemented something similar? What would be the best approach to modify or override the default tooltip behavior using the Wialon SDK? Any code snippets or insights would be greatly appreciated!

Thanks in advance!