From 3386a022799f0712abebe0b5dcc9cd8a4f693ff4 Mon Sep 17 00:00:00 2001 From: Yassin Date: Tue, 29 Mar 2022 12:51:54 +0200 Subject: [PATCH] Fix Documentation in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f17d7a4..da19ead 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Enables measurements. You can also overide the defaults by passing an options ob * `showOnHover: Boolean` (default `false`): if `true`, the measurements will only show when the user hovers the cursor over the path * `showTotalDistance: Boolean` (default `true`): if `false`, the total length of polyline will not be shown -* `minDistance: Number` (default `30`): the minimum length a line segment in the feature must have for a measurement to be added +* `minPixelDistance: Number` (default `30`): the minimum pixel length a line segment in the feature must have for a measurement label to be added * `formatDistance: Function`: allows to override the built-in function that formats a distance in meters to the string shown in the map * `formatArea: Function`: allows to override the built-in function that formats an area in square meters to the string shown in the map