diff --git a/lib/src/layer/polyline_layer/polyline_layer.dart b/lib/src/layer/polyline_layer/polyline_layer.dart index 806a4de54..91b7d77ab 100644 --- a/lib/src/layer/polyline_layer/polyline_layer.dart +++ b/lib/src/layer/polyline_layer/polyline_layer.dart @@ -144,7 +144,7 @@ class _PolylineLayerState extends State> final polyline = projectedPolyline.polyline; // Test bounding boxes to avoid potentially expensive aggressive culling - // where none of the line is visibles + // when none of the line is visible if (!boundsAdjusted.isOverlapping(polyline.boundingBox)) continue; // Gradient poylines cannot be easily segmented