GeoJsonLayer performance vs Base Layers #9544
-
I am attempting to render a large dataset (>1M polygons) and I noticed a significant performance difference when I use SolidPolygonLayer versus when I use GeoJsonLayer. Intuitively I understand that there will be a performance cost of using a Composite Layer but the difference is really night and day and I would like to understand why. Important thing to note is that I am passing all data as binary. Could it be the way I am passing the data into the layers? SolidPolygonLayer
GeoJsonLayer
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I realised what's going on - the GeoJsonLayer automatically renders a PathLayer alongside the SolidPolygonLayer which seems to be significantly more resource intensive. A follow up question would be why the PathLayer seems to be so much more resource intensive than a SolidPolygonLayer when both have the same number of vertices |
Beta Was this translation helpful? Give feedback.
I realised what's going on - the GeoJsonLayer automatically renders a PathLayer alongside the SolidPolygonLayer which seems to be significantly more resource intensive. A follow up question would be why the PathLayer seems to be so much more resource intensive than a SolidPolygonLayer when both have the same number of vertices