Replies: 4 comments 7 replies
-
Perhaps the issue is in my custom fetch function if that helps:
|
Beta Was this translation helpful? Give feedback.
-
Actually I think it's the data parser: |
Beta Was this translation helpful? Give feedback.
-
I believe the MVTLayer supports a binary mode flag, which would avoid the conversion to and from GeoJSON. |
Beta Was this translation helpful? Give feedback.
-
I rewrote the getPolygonSignedArea() function without the loop cleverness to help the JIT and it's night and day faster, this is the code:
And this is the stack trace now, classifyRings is in the millisecond range now and fillArrays is the bottleneck: |
Beta Was this translation helpful? Give feedback.
-
I benchmarked my deck.gl in Chrome and I noticed some latency oddness I'm hoping someone can help me with. I'm using an MVTLayer and the tiles in this particular case aren't that big, about 800KB, but when I load the page it can take up to 20s for the tiles to become visible, long after they've actually finished downloading:
It looks like deck.gl doesn't do anything until a random AnimationFrameFired occurs, then it initializes the layers:
Is there any way to force this to happen as sooner as the tile data is ready?
Beta Was this translation helpful? Give feedback.
All reactions