MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / _getSettingStyle

Method _getSettingStyle

src/common/mapping/WebMapV3.js:1216–1220  ·  view source on GitHub ↗
(styleField, value, simpleStyle)

Source from the content-addressed store, hash-verified

1214 }
1215
1216 _getSettingStyle(styleField, value, simpleStyle) {
1217 const itemStyle = Object.assign({}, simpleStyle);
1218 itemStyle[styleField] = value;
1219 return itemStyle;
1220 }
1221
1222 _parseLegendtyle({ legendRenderType, customValue }) {
1223 const cssStyle = { ...LEGEND_CSS_DEFAULT[legendRenderType] };

Callers 3

_parseUniqueStyleMethod · 0.95
_parseRangeStyleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected