@taichina/map-sdk 1.0.13 → 1.0.14
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
|
@@ -4792,13 +4792,9 @@ var ye = class {
|
|
|
4792
4792
|
}
|
|
4793
4793
|
initState() {
|
|
4794
4794
|
let { mapConfigs: e } = this.teeeMap;
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
e.includes("switch") ? this.teeeMap.map.querySourceFeatures(t, { sourceLayer: e }).forEach((e) => this.initCTCFeatureState(e)) : e.includes("signal") ? this.teeeMap.map.querySourceFeatures(t, { sourceLayer: e }).forEach((e) => {
|
|
4799
|
-
this.initCTCFeatureState(e);
|
|
4800
|
-
}) : (e.includes("track") || e.includes("sgfhqy")) && this.teeeMap.map.querySourceFeatures(t, { sourceLayer: e }).forEach((e) => this.initCTCFeatureState(e));
|
|
4801
|
-
});
|
|
4795
|
+
e && (e.id, e.sourceLayers.forEach((e) => {
|
|
4796
|
+
e.includes("switch") ? (this.switchFeatures.forEach((e) => this.initCTCFeatureState(e)), this.switchlocFeatures.forEach((e) => this.initCTCFeatureState(e))) : e.includes("signal") ? this.signalFeatures.forEach((e) => this.initCTCFeatureState(e)) : e.includes("track") ? this.trackFeatures.forEach((e) => this.initCTCFeatureState(e)) : e.includes("sgfhqy") && this.sgfhqyFeatures.forEach((e) => this.initCTCFeatureState(e));
|
|
4797
|
+
}));
|
|
4802
4798
|
}
|
|
4803
4799
|
initCTCFeatureState(e) {
|
|
4804
4800
|
if (!e) return;
|