Replies: 1 comment 8 replies
-
Vector tiles are tiled, which means that every tile is loaded and rendered independently. In order to correctly render the ArcLayer, you'd need to find a way to find the actual start and end point of each arc. It would probably be considerably easier to do this without storing the data as vector tiles. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am a noobie when it comes to Deck, so I apologize in advance if this question is outright stupid heh.
I'm trying to create a ArcLayer (as a sublayer) from Mapbox Tiles (MVTLayer). When I assign
getSourceColor
andgetTargetColor
it starts and ends at tile seams, not the actual beginning + end. This lead me to believe that the object coordinates are localized to tiles. And when I logged the object, that seemed to be the case.I tried searching and searching and the closest thing I've gotten to was a thread that mentions MVT Loader / Loader Options, and some parameters (modelMatrix, coordinateSystem, coordinateOrigin, clipBounds)... but I had no luck in getting the result I want (a single line that has getSourceColor -> getTargetColor, rather than repeating gradient per tile).
Any help or pointers would be appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions