gisviewer-vue3-arcgis
Version:
在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:
2 lines (1 loc) • 755 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./flow-thematic.js"),o=require("./road-index.js");class i{constructor(e){this.map=e}showRoadFlow(e){this.flowThematic||(this.flowThematic=new t.default(this.map)),this.flowThematic.showRoadFlow(e)}clearRoadFlow(){var e;(e=this.flowThematic)==null||e.clearRoadFlow()}destroy(){var e,a;this.clearRoadFlow(),(e=this.flowThematic)==null||e.destroy(),(a=this.roadIndexThematic)==null||a.destroy()}async showRoadIndex(e){this.roadIndexThematic||(this.roadIndexThematic=new o.default(this.map)),await this.roadIndexThematic.showRoadIndex(e)}clearRoadIndex(){var e;(e=this.roadIndexThematic)==null||e.clearRoadIndex()}}exports.default=i;