filter property

bool Function(dynamic geoJsonFeature) filter

A Function that will be used to decide whether to include a feature or not. The default is to include all features.

Note: Dynamically changing the filter option will have effect only on newly added data. It will not re-evaluate already included features.

Implementation

external bool Function(dynamic geoJsonFeature) get filter;
void filter=(bool value(dynamic geoJsonFeature))

Implementation

external set filter(bool Function(dynamic geoJsonFeature) value);