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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.0.0",
3
+ "version": "7.0.1-dev.1661029667782",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
@@ -188,7 +188,7 @@ class TileJSON extends TileImage {
188
188
 
189
189
  this.tileUrlFunction = createFromTemplates(tileJSON['tiles'], tileGrid);
190
190
 
191
- if (tileJSON['attribution'] !== undefined && !this.getAttributions()) {
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
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '7.0.0';
36
+ export const VERSION = '7.0.1-dev.1661029667782';