pointRadius property

double Function(Map?, [List? arguments]) 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.

final path = GeoPath()..pointRadius = (object, [arguments]) => 10;

path.pointRadius // 10

For example, if your GeoJSON data has additional properties, you might access those properties inside the radius function to vary the point size; alternatively, you could symbol and a projection for greater flexibility.

Implementation

double Function(Map?, [List? arguments]) pointRadius = constant(4.5);