@igo2/geo 20.1.0-next.23 → 20.1.0-next.25
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/fesm2022/igo2-geo.mjs +15 -6
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +5 -5
package/fesm2022/igo2-geo.mjs
CHANGED
|
@@ -30669,6 +30669,9 @@ class ImportExportComponent {
|
|
|
30669
30669
|
if (isLayerGroup(layer)) {
|
|
30670
30670
|
return false;
|
|
30671
30671
|
}
|
|
30672
|
+
if (layer.dataSource.options.download?.url) {
|
|
30673
|
+
return true;
|
|
30674
|
+
}
|
|
30672
30675
|
if (layer instanceof VectorLayer) {
|
|
30673
30676
|
return layer.exportable || layer.dataSource.options.download?.url;
|
|
30674
30677
|
}
|
|
@@ -30892,7 +30895,7 @@ class ImportExportComponent {
|
|
|
30892
30895
|
fileName = this.languageService.translate.instant('igo.geo.export.combinedLayers');
|
|
30893
30896
|
}
|
|
30894
30897
|
if (data.format === 'URL' && isLayerItem(layer)) {
|
|
30895
|
-
this.handleUrlExport(layer);
|
|
30898
|
+
return this.handleUrlExport(layer);
|
|
30896
30899
|
}
|
|
30897
30900
|
if (data.format === 'GPX') {
|
|
30898
30901
|
this.validateGpxExport(geomTypes);
|
|
@@ -38379,6 +38382,7 @@ class Catalog {
|
|
|
38379
38382
|
abstract;
|
|
38380
38383
|
forcedProperties;
|
|
38381
38384
|
items;
|
|
38385
|
+
/** Default to wms */
|
|
38382
38386
|
type;
|
|
38383
38387
|
version;
|
|
38384
38388
|
matrixSet;
|
|
@@ -40046,11 +40050,16 @@ class CatalogLibraryComponent {
|
|
|
40046
40050
|
this.onCatalogSelect(selectedCatalog);
|
|
40047
40051
|
}
|
|
40048
40052
|
}
|
|
40049
|
-
this.predefinedCatalogs.
|
|
40050
|
-
|
|
40051
|
-
|
|
40052
|
-
|
|
40053
|
-
|
|
40053
|
+
this.predefinedCatalogs.update((catalogs) => {
|
|
40054
|
+
return catalogs.map((catalog) => {
|
|
40055
|
+
catalog.type = catalog.type ?? 'wms';
|
|
40056
|
+
catalog.id =
|
|
40057
|
+
catalog.id ?? Md5.hashStr(catalog.type + standardizeUrl(catalog.url));
|
|
40058
|
+
catalog.title =
|
|
40059
|
+
catalog.title === '' || !catalog.title ? catalog.url : catalog.title;
|
|
40060
|
+
return catalog;
|
|
40061
|
+
});
|
|
40062
|
+
});
|
|
40054
40063
|
}
|
|
40055
40064
|
getCatalogs() {
|
|
40056
40065
|
return this.store().view.all$();
|