Leaflet.VectorGrid
Leaflet.VectorGrid copied to clipboard
Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
I have to load .pbf tiles locally. In chrome, I am unable to get tiles using relative path. i.e. **var url = "tiles/{z}/{x}/{y}.pbf";** while in Firefox its working.
Hello, When using a tile with GeomType = 0 (UNKNOWN), ```L.vectorGrid.protobuf``` says ``` Leaflet.VectorGrid.js:113 Uncaught (in promise) TypeError: Cannot read property 'render' of undefined ``` But I think ```L.vectorGrid.protobuf``` should...
I'm guessing this has something to do with leaflet itself, does anyone know if this plugin would address the problem? https://github.com/Leaflet/Leaflet.TileLayer.NoGap
I'm trying to update styles for an entire pbfLayer without reloading the tiles. Use-case is that a tile layer has many attributes, and I may style by one, and then...
A method that allows you to request a tile be reloaded ```js pbfLayer.reload(x, y, z) ``` Use case: I'm building a data editing app served by an on-the-fly VT service...
How [Leaflet.TileLayer.MBTiles](https://gitlab.com/IvanSanchez/Leaflet.TileLayer.MBTiles) could be merged in a Leaflet.VectorGrid.MBTiles? Should it be a new project? Any opinion @IvanSanchez ?
I was wondering if it was possible to add feature collections after the initial slicing. It would be nice to be able to asynchronously load additional feature collections. From what...
I've noticed that when using protobuf and changing the zoom, old requests aren't cancelled. This is sometimes clogging the server if the tiles take too long and the user changes...
If a style function returns an array, allow functions in that array, not just sets of L.Path options
Getting warnings when I install this module: > > warning leaflet.vectorgrid > [email protected]: This module has moved: please install @mapbox/vector-tile instead > warning leaflet.vectorgrid > vector-tile > [email protected]: This module...