leaflet-virtual-grid
Advanced tools
Comparing version 1.0.3 to 1.0.4
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
[Unreleased] | ||
### [Unreleased] | ||
## [1.0.4] | ||
* i wish i could explain it. | ||
## [1.0.3] | ||
* Work around https://github.com/Leaflet/Leaflet/issues/4023 in Leaflet 1.0.0-beta.2. | ||
* Work around Leaflet/Leaflet#4023 in Leaflet 1.0.0-beta.2. | ||
@@ -15,2 +20,6 @@ ## [1.0.2] | ||
### Fixed | ||
* Fix NPM release | ||
## [1.0.1] | ||
@@ -38,5 +47,8 @@ | ||
[Unreleased]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.1...HEAD | ||
[Unreleased]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.4...HEAD | ||
[1.0.4]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.3...v1.0.4 | ||
[1.0.3]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.2...v1.0.3 | ||
[1.0.2]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.1...v1.0.2 | ||
[1.0.1]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v1.0.0...v1.0.1 | ||
[1.0.0]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v0.1.1...v1.0.0 | ||
[0.1.1]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v0.1.0...v0.1.1 | ||
[0.1.1]: https://github.com/patrickarlt/leaflet-virtual-grid/compare/v0.1.0...v0.1.1 |
@@ -18,3 +18,3 @@ (function (global, factory) { | ||
options = L.setOptions(this, options); | ||
this._ok = true; | ||
this._zooming = false; | ||
}, | ||
@@ -37,3 +37,3 @@ | ||
moveend: this._update, | ||
movestart: this._start, | ||
zoomstart: this._zoomstart, | ||
zoomend: this._reset | ||
@@ -55,11 +55,7 @@ }; | ||
_start: function () { | ||
this._ok = true; | ||
_zoomstart: function () { | ||
this._zooming = true; | ||
}, | ||
_reset: function () { | ||
if (!this._ok) { | ||
return; | ||
} | ||
this._removeCells(); | ||
@@ -105,6 +101,2 @@ | ||
_update: function () { | ||
if (!this._ok) { | ||
return; | ||
} | ||
if (!this._map) { | ||
@@ -126,4 +118,2 @@ return; | ||
this.fire('cellsupdated'); | ||
this._ok = false; | ||
}, | ||
@@ -130,0 +120,0 @@ |
{ | ||
"name": "leaflet-virtual-grid", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A lightweight DOM-less tile layer for Leaflet that can be used to query APIs with bounding boxes or center/radius as opposed to loading tiles.", | ||
@@ -9,3 +9,3 @@ "main": "dist/virtual-grid.js", | ||
"lint": "semistandard --verbose | snazzy", | ||
"test": "npm run lint && browserify test/virtual-grid.js -t [ babelify --presets es2015 ] | tape-run | faucet", | ||
"test": "npm run lint && browserify test/virtual-grid.js -t [ babelify --presets es2015 ] | tape-run --browser phantom | faucet", | ||
"bundle": "rollup src/virtual-grid.js -m dist/virtual-grid.js.map -e leaflet -f umd -o dist/virtual-grid.js -n VirtualGrid", | ||
@@ -41,2 +41,3 @@ "release": "scripts/release.sh", | ||
"isparta": "^4.0.0", | ||
"phantomjs": "^2.1.7", | ||
"rollup": "^0.21.0", | ||
@@ -51,4 +52,4 @@ "semistandard": "^7.0.2", | ||
"dependencies": { | ||
"leaflet": "^1.0.0-beta.2" | ||
"leaflet": "^1.0.0-rc.1" | ||
} | ||
} |
@@ -12,3 +12,3 @@ import L from 'leaflet'; | ||
options = L.setOptions(this, options); | ||
this._ok = true; | ||
this._zooming = false; | ||
}, | ||
@@ -31,3 +31,3 @@ | ||
moveend: this._update, | ||
movestart: this._start, | ||
zoomstart: this._zoomstart, | ||
zoomend: this._reset | ||
@@ -49,11 +49,7 @@ }; | ||
_start: function () { | ||
this._ok = true; | ||
_zoomstart: function () { | ||
this._zooming = true; | ||
}, | ||
_reset: function () { | ||
if (!this._ok) { | ||
return; | ||
} | ||
this._removeCells(); | ||
@@ -99,6 +95,2 @@ | ||
_update: function () { | ||
if (!this._ok) { | ||
return; | ||
} | ||
if (!this._map) { | ||
@@ -120,4 +112,2 @@ return; | ||
this.fire('cellsupdated'); | ||
this._ok = false; | ||
}, | ||
@@ -124,0 +114,0 @@ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
217525
14
16
539
1
Updatedleaflet@^1.0.0-rc.1