PolylineSimplificationCallback typedef
The method will be called on the main thread when PolylineSimplifier.simplify is finished.
-
queryErrorThe optional error, which occurred during simplification. -
resultThe simplified polyline with number of points less or equal to the input polyline of PolylineSimplifier.simplify.
Implementation
typedef PolylineSimplificationCallback = void Function(PolylineSimplificationError? queryError, List<GeoCoordinates>? result);