maxPoints property

int maxPoints
getter/setter pair

Sets the upper limit on the resulting collection for the PolylineSimplifier.simplify. Lower value results in the lower accuracy of the resulting polyline. If maxPoints is less than 2 then resulting polyline will not have an upper limit on the size and only PolylineSimplifierOptions.simplificationToleranceInMeters will be considered. When maxPoints is greater than size of the passed polyline then simplification algorithm will take into account only PolylineSimplifierOptions.simplificationToleranceInMeters.

Implementation

int maxPoints;