@masterportal/masterportalapi 2.42.0 → 2.42.1

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/CHANGELOG.md CHANGED
@@ -18,6 +18,13 @@
18
18
 
19
19
  ---
20
20
 
21
+ ## 2.42.1 - 2024-11-28
22
+
23
+ ### Fixed
24
+ - Issue #1275: Fixed layers without capabilitiesURL.
25
+
26
+ ---
27
+
21
28
  ## 2.42.0 - 2024-11-27
22
29
 
23
30
  ### Changed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@masterportal/masterportalapi",
3
3
  "author": "Implementierungspartnerschaft Masterportal <info@masterportal.org> (https://www.masterportal.org)",
4
- "version": "2.42.0",
4
+ "version": "2.42.1",
5
5
  "license": "MIT",
6
6
  "description": "Basic functions of the Masterportal as api",
7
7
  "repository": {
package/src/layer/wmts.js CHANGED
@@ -186,7 +186,7 @@ function createLayer (rawLayer, layerParams = {}) {
186
186
  infoFormat: rawLayer.infoFormat
187
187
  }, layerParams));
188
188
 
189
- if (rawLayer.optionsFromCapabilities === undefined || !rawLayer.capabilitiesUrl) {
189
+ if (rawLayer.optionsFromCapabilities === undefined || rawLayer.capabilitiesUrl === undefined) {
190
190
  createLayerSourceByDefinitions(rawLayer, tileLayer);
191
191
  }
192
192
  else {