gisviewer-vue3-arcgis
Version:
在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:
29 lines (28 loc) • 778 B
JavaScript
import t from "./flow-thematic.mjs";
import e from "./road-index.mjs";
class s {
constructor(a) {
this.map = a;
}
showRoadFlow(a) {
this.flowThematic || (this.flowThematic = new t(this.map)), this.flowThematic.showRoadFlow(a);
}
clearRoadFlow() {
var a;
(a = this.flowThematic) == null || a.clearRoadFlow();
}
destroy() {
var a, o;
this.clearRoadFlow(), (a = this.flowThematic) == null || a.destroy(), (o = this.roadIndexThematic) == null || o.destroy();
}
async showRoadIndex(a) {
this.roadIndexThematic || (this.roadIndexThematic = new e(this.map)), await this.roadIndexThematic.showRoadIndex(a);
}
clearRoadIndex() {
var a;
(a = this.roadIndexThematic) == null || a.clearRoadIndex();
}
}
export {
s as default
};