Convert ArcGIS Min/Max Scales to Deck Zoom Level? #5566
-
I am receiving min/max scale/ratio values (ie., 50000, 10000000) from an Arc service to be used to determine when to render objects within my deck layers. Would there be a recommended way to convert to convert these scale values to deck's corresponding zoom levels? |
Beta Was this translation helpful? Give feedback.
Answered by
Pessimistress
Mar 10, 2021
Replies: 1 comment
-
Viewport scales are calculated as |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jfuehner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Viewport scales are calculated as
Math.pow(2, zoom)
.