Advice for loading CSV data for a ScatterplotLayer alongside TileLayer Image data #5519
-
We have a large image dataset that we are visualizing using the TileLayer, but we would also like to overlay a scatterplot on top of the TileLayer. However, we have too many points to show all at once in the ScatterplotLayer and would probably only want to show points when zoomed in. What would be the best approach for this? I am thinking I could save CSVs corresponding to the image tiles (at their highest resolution) and then load them when we zoom in. Should I load them simultaneously to loading the tiles? Would the streaming support for loading this scatterplot data work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Why don't you tile the points as well? Consider https://github.com/mapbox/tippecanoe to build vector tiles that are served with your images. |
Beta Was this translation helpful? Give feedback.
Why don't you tile the points as well? Consider https://github.com/mapbox/tippecanoe to build vector tiles that are served with your images.