get pixel value for onclick() in tilelayer that renders COG with sublayer type of BitmapLayer #9146
Unanswered
lawrencenika
asked this question in
Q&A
Replies: 1 comment
-
Not sure what this "8000+" is. |
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.
-
I successfully loaded COG on deckgl map react with bitmaplayer to render the tiles, but when I add the onClick to TileLayer that wraps the bitmaplayer, it only prints the following pickinfo:
with the following code:
For the same point, I got 8000+ for pixel value from the same point (lat, lon) via titiler. How come the pixel value here is an array of length 2 instead?
Beta Was this translation helpful? Give feedback.
All reactions