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

Function callback

src/common/mapping/utils/L7LayerUtil.js:795–802  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

793 const field = fieldRules[value[0]] && fieldRules[value[0]](compiledExpression);
794 const newFunc = compiledExpression.value.evaluate.bind(compiledExpression.value);
795 const callback = (v) => {
796 const f = {
797 properties: { [field]: v },
798 type: 'point'
799 };
800 const result = newFunc({ zoom: map.getZoom() }, f);
801 return property === 'shape' ? result.toString() : multiple ? result * multiple : result;
802 };
803 return {
804 field,
805 values: callback

Callers 15

loadImageMethod · 0.50
findShortestPathMethod · 0.50
MapExtendSymbolFunction · 0.50
TurfLayer.jsFile · 0.50
findShortestPathMethod · 0.50
_forEachFunction · 0.50
loadImageMethod · 0.50
findShortestPathMethod · 0.50
MapExtendSymbolFunction · 0.50
transformResultMethod · 0.50
getMapInfoMethod · 0.50
processAsyncMethod · 0.50

Calls 2

getZoomMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected