You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using mapbox GL JS to display a rather large dataset of about 100,000 GeoJSON points. It is very performant when displayed with a circle layer. For design and UX reasons, we wanted to switch to a symbol layer using sprites for square icons, but it struggles heavily when displaying such a large dataset. We switched back to the circle layer for now.
My team was wondering if it would be possible to have something like a square or rectangle layer, so that each point is displayed as a square with about the same level of customizability and rendering performance as the circle layer.
Design
The design and usage would be relatively similar as the circle layer, but it would display each point of the dataset as squares instead. The advantages and drawbacks would be more or less the same as the circle layer, but would allow for more versatile maps with more varied ways to display dense data.
It could include extra paint properties specific to squares/rectangles such as border radius or rotation angle.
The text was updated successfully, but these errors were encountered:
Hey, @BSoD38. It's quite an uncommon scenario, I guess: render such a large dataset without any clustering. I searched that the almost similar that was requested several years ago #10931
So, I'm interested to hear a bit more about your use case. How do you represent a large number of items on low zoom level and what is the specific reason do not using clustering, i.e.?
Uh oh!
There was an error while loading. Please reload this page.
Motivation
We are using mapbox GL JS to display a rather large dataset of about 100,000 GeoJSON points. It is very performant when displayed with a
circle
layer. For design and UX reasons, we wanted to switch to asymbol
layer using sprites for square icons, but it struggles heavily when displaying such a large dataset. We switched back to thecircle
layer for now.My team was wondering if it would be possible to have something like a
square
orrectangle
layer, so that each point is displayed as a square with about the same level of customizability and rendering performance as thecircle
layer.Design
The design and usage would be relatively similar as the circle layer, but it would display each point of the dataset as squares instead. The advantages and drawbacks would be more or less the same as the
circle
layer, but would allow for more versatile maps with more varied ways to display dense data.It could include extra
paint
properties specific to squares/rectangles such as border radius or rotation angle.The text was updated successfully, but these errors were encountered: