pointRadius property

double Function(Map?) pointRadius
getter/setter pair

A function which is computed per feature and used to display Point and MultiPoint geometries with the radius being the returned number.

For example, if your GeoJSON data has additional properties, you might access those properties inside the radius function to vary the point size.

Implementation

double Function(Map?) pointRadius = constant(4.5);