Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change icon when alarm is pressed #109

Open
JoshuaMoelans opened this issue Jul 26, 2022 · 1 comment
Open

Change icon when alarm is pressed #109

JoshuaMoelans opened this issue Jul 26, 2022 · 1 comment
Labels
enhancement New feature or request front-end Issues relating to Vue-specific tasks

Comments

@JoshuaMoelans
Copy link
Contributor

When the Teltonika tracker alarm button is pressed, currently the popup displays the details in red. We could also change the icon to match, by for example adding a red outline or a red overlay to the 'normal' selected tracker icon. An example is shown below.

The way to implement this would be to add another check in the onSelect (like the id.includes("sp_") ) but on the alarm event.

marker-alarm

@JoshuaMoelans JoshuaMoelans added enhancement New feature or request front-end Issues relating to Vue-specific tasks labels Jul 26, 2022
@JoshuaMoelans
Copy link
Contributor Author

Additionally, one could change the icon for the user's own tracked icon to make it clear where they are. For this, the sent ID can be checked against the marker's received ID, and if they are the same, we generate the marker with another icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request front-end Issues relating to Vue-specific tasks
Projects
None yet
Development

No branches or pull requests

1 participant