geojs 1.14.2 → 1.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/geo.js +5 -5
- package/geo.lean.js +5 -5
- package/geo.lean.min.js +1 -1
- package/geo.min.js +1 -1
- package/package.json +1 -1
- package/src/osmLayer.js +2 -1
- package/src/pixelmapLayer.js +2 -1
- package/src/tileLayer.js +2 -1
package/package.json
CHANGED
package/src/osmLayer.js
CHANGED
|
@@ -79,7 +79,8 @@ var osmLayer = function (arg) {
|
|
|
79
79
|
overlap: m_this._options.tileOverlap,
|
|
80
80
|
scale: m_this._options.tileScale,
|
|
81
81
|
url: m_this._options.url.call(
|
|
82
|
-
m_this, urlParams.x, urlParams.y,
|
|
82
|
+
m_this, urlParams.x, urlParams.y,
|
|
83
|
+
Math.max(urlParams.level || 0, Math.min(0, m_this._options.minLevel || 0)),
|
|
83
84
|
m_this._options.subdomains),
|
|
84
85
|
crossDomain: m_this._options.crossDomain
|
|
85
86
|
});
|
package/src/pixelmapLayer.js
CHANGED
|
@@ -81,7 +81,8 @@ var pixelmapLayer = function (arg) {
|
|
|
81
81
|
overlap: m_this._options.tileOverlap,
|
|
82
82
|
scale: m_this._options.tileScale,
|
|
83
83
|
url: m_this._options.url.call(
|
|
84
|
-
m_this, urlParams.x, urlParams.y,
|
|
84
|
+
m_this, urlParams.x, urlParams.y,
|
|
85
|
+
Math.max(urlParams.level || 0, Math.min(0, m_this._options.minLevel || 0)),
|
|
85
86
|
m_this._options.subdomains),
|
|
86
87
|
crossDomain: m_this._options.crossDomain
|
|
87
88
|
});
|
package/src/tileLayer.js
CHANGED
|
@@ -601,7 +601,8 @@ var tileLayer = function (arg) {
|
|
|
601
601
|
size: {x: m_this._options.tileWidth, y: m_this._options.tileHeight},
|
|
602
602
|
queue: m_this._queue,
|
|
603
603
|
url: m_this._options.url.call(
|
|
604
|
-
m_this, urlParams.x, urlParams.y,
|
|
604
|
+
m_this, urlParams.x, urlParams.y,
|
|
605
|
+
Math.max(urlParams.level || 0, Math.min(0, m_this._options.minLevel || 0)),
|
|
605
606
|
m_this._options.subdomains)
|
|
606
607
|
});
|
|
607
608
|
};
|