forEach abstract method

void forEach(
  1. PolygonDataSourcePolygonDataProcessor processor
)

Iterates through all the polygons from the data source and passes them to the given processor, one by one.

The processor can update the polygon data.

The iteration stops after all polygons have been processed or the processor returns false from the process call.

  • processor Polygon processor.

Implementation

void forEach(PolygonDataSourcePolygonDataProcessor processor);