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

Method _transStyleSetting

src/common/mapping/WebMapV3.js:827–834  ·  view source on GitHub ↗
(renderType, styleSetting)

Source from the content-addressed store, hash-verified

825 }
826
827 _transStyleSetting(renderType, styleSetting) {
828 for (const key in styleSetting) {
829 const aliasKey = this._getAliasKey(renderType, key);
830 if (aliasKey !== key) {
831 styleSetting[aliasKey] = styleSetting[key];
832 }
833 }
834 }
835
836 _getLegendSimpleStyle(styleSetting, keys) {
837 const simpleStyle = {};

Callers 1

Calls 1

_getAliasKeyMethod · 0.95

Tested by

no test coverage detected