evaluatePointStyle
Works out a feature's colour, size, shape and label from a point style.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { evaluatePointStyle } from "@mapcairn/core";
function evaluatePointStyle(style: PointStyle, fields: Readonly<Record<string, FieldValue>>): MarkerStyle;
Parameters
style(PointStyle)fields(Readonly<Record<string, FieldValue>>)
Returns
MarkerStyle