re-sets cartocss each time a tile is loaded
This commit is contained in:
parent
d1ab5620c6
commit
f52a47a04e
@ -97,7 +97,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
|
|||||||
self.setKeys(self.getKeys());
|
self.setKeys(self.getKeys());
|
||||||
};
|
};
|
||||||
|
|
||||||
this.on('tilesLoaded', function () {
|
this.on('tileLoaded', function () {
|
||||||
self.renderer.setCartoCSS(self.renderer.style);
|
self.renderer.setCartoCSS(self.renderer.style);
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user