-
Notifications
You must be signed in to change notification settings - Fork 152
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
Retrieve Zoom level via ROS Topics or services. #831
Comments
Right now there's not a way to resize that I know of, but I think that makes a lot of sense. I think I'd rather have Mapviz scale the markers itself, based on a user setting, than publish the zoom level and have the markers themselves change. If we had the markers re-publish, it would change it for all listeners of the message, which doesn't seem great. |
So are there any work arounds, atleast for my particular case? |
I can't think of a good one. I suppose you could publish multiple marker
arrays at different scales and then manually select the one in the UI that
matches your zoom level, but it's certainly not a great solution.
…On Thu, Nov 21, 2024, 04:20 DevJoe ***@***.***> wrote:
So are there any work arounds, atleast for my particular case?
—
Reply to this email directly, view it on GitHub
<#831 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBZWHHEBUFTWSHETMBBKGT2BWXYHAVCNFSM6AAAAABSBD6OSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQG4YTIMJYGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Okay thanks. |
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.
The text was updated successfully, but these errors were encountered: