Skip to content

Commit

Permalink
Fixed typos in example code for nearestPointOnLine (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
basvdijk authored May 8, 2024
1 parent a80aeaf commit 8486440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/nearest_point_on_line.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
/// ```
Expand Down

0 comments on commit 8486440

Please sign in to comment.