Leaflet / Leaflet.VectorGrid

Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
607 stars 194 forks source link

No Tile rendering with leaflet 1.0.2 #31

Closed manuamador closed 7 years ago

manuamador commented 7 years ago

Hi, No error in the console logs. But tiles are not rendering with Leaflet 1.0.2. I will try to investigate a bit. Very nice package BTW.

IvanSanchez commented 7 years ago

Can you publish a fiddle/codepen/playground that displays this behaviour? That works with Leaflet 1.0.1 but fails with 1.0.2?

manuamador commented 7 years ago

https://playground-leaflet.rhcloud.com/xalil/edit?html,output

perliedman commented 7 years ago

VectorGrid's canvas rendering is currently broken with 1.0.2, but I'm working on a fix for this.

For a really quick workaround, you can probably just add this line to L.Canvas.Tile's initialize method:

        this._drawing = true;
manuamador commented 7 years ago

Thanks !