Structural view of a MapLibre GeoJSON source's mutating method. The registry stores generic Source handles; the adapter narrows to this shape (guarded by typeof source.setData === "function") before replacing layer data.
Source
typeof source.setData === "function"
Structural view of a MapLibre GeoJSON source's mutating method. The registry stores generic
Sourcehandles; the adapter narrows to this shape (guarded bytypeof source.setData === "function") before replacing layer data.