0.1.1 • Published 3 years ago
hm-map-model v0.1.1
hm-map-model
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
customLayerSetting
customLayerSetting = { Pipe:{ iconStyle: { src: imgUrl, anchorOrigin: center|bottom} displaySetting: {display:true, enable: true, resolution: 10 }, labelSetting: { display: false, enable: false, resolution: 1 }, arrowSetting: { display: true, src: arrowUrl, isFlow: false}, isoSetting: { display: true, src: isoUrl}, }, junction:{ iconStyle: { src: imgUrl, anchorOrigin: center|bottom} displaySetting: { display:true, enable: true, resolution: 10 }, labelSetting: { display: false, enable: false, resolution: 1 } } }
引用外部设置分级设色数据
增加方法 setFeatureClassValue(layerName){
}