update build

This commit is contained in:
mourner 2012-02-13 12:15:47 +02:00
parent df8694b743
commit c84726ef39
2 changed files with 6 additions and 1 deletions

5
dist/leaflet-src.js vendored
View File

@ -1723,7 +1723,12 @@ L.TileLayer = L.Class.extend({
_update: function () {
var bounds = this._map.getPixelBounds(),
zoom = this._map.getZoom(),
tileSize = this.options.tileSize;
if (zoom > this.options.maxZoom || zoom < this.options.minZoom) {
return;
}
var nwTilePoint = new L.Point(
Math.floor(bounds.min.x / tileSize),

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long