Leaflet.VectorGrid
Leaflet.VectorGrid copied to clipboard
Reload tile feature request
A method that allows you to request a tile be reloaded
pbfLayer.reload(x, y, z)
Use case: I'm building a data editing app served by an on-the-fly VT service and I want to refresh tiles on the frontend whenever I make a change to a feature on the backend.
If this sounds viable I'm happy to make a pull request!
hmm looks like GridLayer.redraw()
~basically~ give the desired functionality here.
Is there a way to reload just one tile though?
I would say that redraw()
is the way to go here. Other GridLayer systems also don't allow refreshing of a single tile, only of the layer as a whole. Same goes for other advanced systems such as Mapbox and CARTO.