resolveMetric

Function

Resolve a Metric into an array of IMetricFeature objects. This implementation is similar to DynamicValues, but is just different enough to warrant a separate implementation.

Parameters

Parameter Type Default Notes
metric Required IMetric
context Required IArcGISContext

Returns

Promise<IResolvedMetric>
Property Type Notes
features IMetricFeature[]
generatedAt number

Function defined in common/src/metrics/resolveMetric.ts:27