0.1.5 • Published 3 years ago

hm-map-gis v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

hm-map

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

See Configuration Reference.

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}, }, junction:{ iconStyle: { src: imgUrl, anchorOrigin: center|bottom} displaySetting: { display:true, enable: true, resolution: 10 }, labelSetting: { display: false, enable: false, resolution: 1 } } }

引用外部设置分级设色数据

增加方法 setFeatureClassValue(layerName){

}