Migrate to leaflet 1.0.3
This commit is contained in:
parent
771c92fb2f
commit
3752aacf33
@ -4,7 +4,7 @@ require('./leaflet_tileloader_mixin');
|
|||||||
* full canvas layer implementation for Leaflet
|
* full canvas layer implementation for Leaflet
|
||||||
*/
|
*/
|
||||||
|
|
||||||
L.CanvasLayer = L.Class.extend({
|
L.CanvasLayer = L.Layer.extend({
|
||||||
|
|
||||||
includes: [L.Mixin.Events, L.Mixin.TileLoader],
|
includes: [L.Mixin.Events, L.Mixin.TileLoader],
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ L.CanvasLayer = L.Class.extend({
|
|||||||
this._map = map;
|
this._map = map;
|
||||||
|
|
||||||
// add container with the canvas to the tile pane
|
// add container with the canvas to the tile pane
|
||||||
// the container is moved in the oposite direction of the
|
// the container is moved in the oposite direction of the
|
||||||
// map pane to keep the canvas always in (0, 0)
|
// map pane to keep the canvas always in (0, 0)
|
||||||
var tilePane = this._map._panes.tilePane;
|
var tilePane = this._map._panes.tilePane;
|
||||||
var _container = L.DomUtil.create('div', 'leaflet-layer');
|
var _container = L.DomUtil.create('div', 'leaflet-layer');
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "~7.0.0",
|
"browserify": "~7.0.0",
|
||||||
"canvas": "~1.2.1",
|
"canvas": "~1.2.1",
|
||||||
"leaflet": "0.7.3",
|
"leaflet": "1.0.3",
|
||||||
"mapnik": "cartodb/node-mapnik#1.4.15-cdb8",
|
"mapnik": "cartodb/node-mapnik#1.4.15-cdb8",
|
||||||
"node-qunit-phantomjs": "1.3.0",
|
"node-qunit-phantomjs": "1.3.0",
|
||||||
"phantomjs-polyfill": "0.0.1",
|
"phantomjs-polyfill": "0.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user