Geomap Route Layer Persists When Switching to Device Without GPS Data

What Grafana version and what operating system are you using?

Grafana v11.4.0 on Windows 11 Pro

What are you trying to achieve?

I have a geomap with route layer enabled that displays GPS data for different devices. When I switch from a device with GPS data to another device that has no GPS data, I want the previous route to disappear. Currently, the route from the previous device remains visible, which is not the desired behavior.

What happened?

When I select a device with no GPS data, two issues occur:

  1. The route from the previously selected device remains visible on the map
  2. The geomap zooms out to show the whole world view

I’ve tried modifying my queries and checking layer configurations, but the issues persist.

Screenshots



Additional information

  • Data source: [Your data source]
  • Query details: [Brief description of how you’re querying the data]
  • Variable setup: [If you’re using variables to select devices]

Any help would be greatly appreciated!