Weather Radar Multi-View Scaling Issues #9653
Unanswered
DavidLudwig
asked this question in
Q&A
Replies: 1 comment
-
have you tried first person view/controller? you want a kind a drone style view? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a weather radar visualization whereby one can click on a weather-radar's location on a map, which causes another view to open showing its data zoomed in and orbitable, however I am having trouble getting this functional using Deck.GL 9.x (presently 9.1.12, though I upgrading, or downgrading a little, might be fine). The issues I am running into appear related to the scaling of lines and points, however I am having trouble determining a proper fix.
A screenshot showing my issue (described below) is attached, as well as a shortened code example.
TL;DR
I see an OrbitView rendering lines and points (sourced from a GeoJsonLayer) much larger than their equivalents in a MapView. Both views share a pair of GeoJsonLayers. I have thoughts on what a fix might entail, but am unsure what or how to approach. Screenshot and code attached.
Details
My high-level Deck.GL setup currently looks like the following:
The lines and points look fine in the MapView, but are greatly distorted within the OrbitView, which displays them much too large. I have been able to work around this somewhat by adjusting line and point scaling factors in the appropriate, multi-view-shared, GeoJsonLayers' properties, however it only ever fixes things in one view, while leaving the other view's equalents looking wrong (sometimes very much so).
Options Being Considered
I am wondering how best to fix this, assuming that it is even possible. Here are some things I'm considering, but am not sure if any are "correct", or if there might be other options.
Other suggestions on what I ought to consider or look at are definitely welcomed as well.
Thank you all for your time!
Screenshot
The MapView is on the left, and the OrbitView on the right,
Code
Beta Was this translation helpful? Give feedback.
All reactions