From f8fdf035cef535b75c43a8b3c70780adc51a5d2f Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Wed, 8 May 2024 09:51:55 +0200 Subject: [PATCH] Fixed typos in example code for nearestPointOnLine --- lib/src/nearest_point_on_line.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/nearest_point_on_line.dart b/lib/src/nearest_point_on_line.dart index fe5c90f..2961d3b 100644 --- a/lib/src/nearest_point_on_line.dart +++ b/lib/src/nearest_point_on_line.dart @@ -193,9 +193,9 @@ _NearestMulti? _nearestPointOnMultiLine( /// Position.of([-77.020339, 38.884084]), /// Position.of([-77.025661, 38.885821]), /// Position.of([-77.021884, 38.889563]), -/// Position.of([-77.019824, 38.892368)] +/// Position.of([-77.019824, 38.892368]) /// ]); -/// var pt = Point(coordinates: Position(lat: -77.037076, lng: 38.884017)); +/// var pt = Point(coordinates: Position(-77.037076, 38.884017)); /// /// var snapped = nearestPointOnLine(line, pt, Unit.miles); /// ```