Black Lives Matter. Please consider donating to Black Girls Code today.

Use hover data from Mapbox tileset

I have millions of points. I know the Uber sample app loads several million into a dataframe then chooses 20k or so to display at an given time based on user input. I can’t think of a feasible way to do this with my app unless I could insert the points after a relayout event without a map reload. Get everything within a distance of the map center and put it on the map basically.

Is there any way to leverage Mapbox’s infrastructure as seen here:

Pertinent dash code seems to be here: https://github.com/plotly/dash-core-components/blob/3da347707cfe3b84557ea69d15fe12519f2adf0c/src/fragments/Graph.react.js

But I don’t know how or where to override this.