@gis_victory/gismap 1.0.52 → 1.0.54
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/dist/index.es.js +3 -3
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -95139,10 +95139,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
95139
95139
|
curLayer.value = item.name;
|
|
95140
95140
|
switch (item.name) {
|
|
95141
95141
|
case "tdt-vec":
|
|
95142
|
-
map2?.manager?.tdtManager.addVecLayer(PlaceholderManager.layerPolygonId);
|
|
95142
|
+
map2?.manager?.tdtManager.addVecLayer(item?.source || null, PlaceholderManager.layerPolygonId);
|
|
95143
95143
|
break;
|
|
95144
95144
|
case "tdt-img":
|
|
95145
|
-
map2?.manager?.tdtManager.addImgLayer(PlaceholderManager.layerPolygonId);
|
|
95145
|
+
map2?.manager?.tdtManager.addImgLayer(item?.source || null, PlaceholderManager.layerPolygonId);
|
|
95146
95146
|
break;
|
|
95147
95147
|
default:
|
|
95148
95148
|
map2?.pubsub.emit(`switch:${item.name}`, item);
|
|
@@ -95157,7 +95157,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
95157
95157
|
switch (item.name) {
|
|
95158
95158
|
case "tdt-cia":
|
|
95159
95159
|
if (item.checked) {
|
|
95160
|
-
map2?.manager?.tdtManager.addCiaLayer(PlaceholderManager.layerPointId);
|
|
95160
|
+
map2?.manager?.tdtManager.addCiaLayer(item?.source || null, PlaceholderManager.layerPointId);
|
|
95161
95161
|
} else {
|
|
95162
95162
|
map2?.manager?.tdtManager.removeCiaLayer();
|
|
95163
95163
|
}
|