MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / _getThemeField

Method _getThemeField

src/common/mapping/WebMapV2.js:2674–2679  ·  view source on GitHub ↗
(layerInfo)

Source from the content-addressed store, hash-verified

2672 }
2673
2674 _getThemeField(layerInfo) {
2675 if (layerInfo.layerType === 'VECTOR') {
2676 return ''
2677 }
2678 return layerInfo.layerType === 'HEAT' ? layerInfo.themeSetting.weight : layerInfo.themeSetting.themeField
2679 }
2680
2681 _initLegendConfigInfo(layerInfo, style) {
2682 const legendItem = {

Callers 1

_initLegendConfigInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected