proximiio-js-library 1.15.1 → 1.15.2
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/lib/components/map/main.js +9 -0
- package/lib/proximiio.js +1 -1
- package/package.json +1 -1
|
@@ -1652,6 +1652,15 @@ export class Map {
|
|
|
1652
1652
|
let tileUrl = ((_a = this.defaultOptions.rasterTilesOptions) === null || _a === void 0 ? void 0 : _a.tilesUrl)
|
|
1653
1653
|
? (_b = this.defaultOptions.rasterTilesOptions) === null || _b === void 0 ? void 0 : _b.tilesUrl
|
|
1654
1654
|
: metadata['proximiio:raster:tileurl'];
|
|
1655
|
+
if (!tileUrl ||
|
|
1656
|
+
tileUrl === '' ||
|
|
1657
|
+
tileUrl === 'undefined' ||
|
|
1658
|
+
tileUrl === 'null' ||
|
|
1659
|
+
tileUrl === null ||
|
|
1660
|
+
tileUrl === undefined ||
|
|
1661
|
+
tileUrl.length === 0) {
|
|
1662
|
+
return;
|
|
1663
|
+
}
|
|
1655
1664
|
const isLeveled = () => {
|
|
1656
1665
|
return tileUrl.match(/{LEVEL}/g) !== null;
|
|
1657
1666
|
};
|