Leaflet.VectorGrid
Leaflet.VectorGrid copied to clipboard
Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
TileStache can [serve slices of GeoJSON from PostGIS](http://tilestache.org/doc/#vector-provider), presenting a URL of form: `http://example.org/path/tile.cgi/streets/{z}/{x}/{y}.json` The [example VectorGrid.Protobuf](https://leaflet.github.io/Leaflet.VectorGrid/vectorgrid-api-docs.html#vectorgrid-protobuf-example) URL is: `https://free-{s}.tilehosting.com/data/v3/{z}/{x}/{y}.pbf`. This seems like a match made to be no?
# The problem IE Web Workers don't support BLOB URL's. # This solution https://github.com/Leaflet/Leaflet.VectorGrid/issues/58#issuecomment-315081394 This fix allows the user to place the Web Worker code in an external file then...
Prompted by https://stackoverflow.com/questions/44707862/how-to-add-geojson-points-as-a-vector-tile-in-leaflet I tried to load a GeoJSON file containing only points (the one referenced in the SO question) like so: ```js fetch('https://raw.githubusercontent.com/evantdailey/map_testing/master/site1.geo.json').then(function(response){ return response.json(); }).then(function(json){ var points =...
Fixed gobble rollup error under macos, it was not able to follow symlinks. I introduced a dev dependency [gobble-hardlink](https://github.com/gobblejs/gobble-hardlink) and transformed all file references using transform('hardlink')
Leaflet 1.0.3 Vectorgrid manually built from master on 03/06/2017 IE10 (and I'm assuming below) are not responding to `L.Evented` events on layers with PBFs on them. Creating and loading in...
In the master code, the event handling is doing a `L.DomEvent.fakeStop()`. This is only valid in the master branch of leaflet (in the rollup builds), making latest VectorGrid incompatible with...
The new concept of a `RenderService` is introduced. There are two implementations, one for SVG/VML and one for Canvas. A `RenderService` provides methods for render-method agnostic initialisation and sizing of...
We store feature properties in our layers for use when a layer is interactive and/or can change feature styles after they're loaded. However, when this feature isn't enabled, storing the...
When I first made this, I really gave a lot of thought to the `vectorTileLayerStyles` option. It was just the fastest idea at that time. With some of the more...
This PR pulls out the L.Util.Template call into its own _getTileURL function as well as implemented the TODO of using the _getZoomForURL. This would allow a developer to extend the...