Skip to content

Retrieve Zoom level via ROS Topics or services. #831

@joeldevasia

Description

@joeldevasia

Hello there, I am currently using MapViz in ROS Noetic. I noticed that Visualisation Markers don't scale based on zoom. In my particular use case, the user would have to zoom in and out from few metres of screen area to several hundreds of Kilometres frequently. And the markers I publish are dynamic. So I was wondering if there is no built-in way to resize Visualisation Markers based on zoom, then if some how i could get the zoom level, I would re-publish all markers with updated scale. I could then set a fixed frequency for updating the marker or update them when zoom changes.

Are there any way to get the current zoom level?
I was thinking if its not possible them I'll have to monitor the Tile Map URL to extract the zoom level but that would be too much for me.

Thankyou in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions