ol 7.0.0 → 7.0.1-dev.1661029667782
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/package.json +1 -1
- package/source/TileJSON.js +1 -1
- package/util.js +1 -1
package/package.json
CHANGED
package/source/TileJSON.js
CHANGED
|
@@ -188,7 +188,7 @@ class TileJSON extends TileImage {
|
|
|
188
188
|
|
|
189
189
|
this.tileUrlFunction = createFromTemplates(tileJSON['tiles'], tileGrid);
|
|
190
190
|
|
|
191
|
-
if (tileJSON['attribution']
|
|
191
|
+
if (tileJSON['attribution'] && !this.getAttributions()) {
|
|
192
192
|
const attributionExtent = extent !== undefined ? extent : gridExtent;
|
|
193
193
|
this.setAttributions(function (frameState) {
|
|
194
194
|
if (intersects(attributionExtent, frameState.extent)) {
|
package/util.js
CHANGED