From f4dd80da5ec21a027468a7f71c5ce2d5aea0e80f Mon Sep 17 00:00:00 2001 From: dkhawk <107309+dkhawk@users.noreply.github.com> Date: Tue, 28 Oct 2025 10:06:46 -0600 Subject: [PATCH] chore: Make DEFAULT_TOLERANCE public Make the `DEFAULT_TOLERANCE` constant in `PolyUtil` public, reverting an oversite when the class was ported to Kotlin. --- library/src/main/java/com/google/maps/android/PolyUtil.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/google/maps/android/PolyUtil.kt b/library/src/main/java/com/google/maps/android/PolyUtil.kt index d6e3cd5e6..70095ecfc 100644 --- a/library/src/main/java/com/google/maps/android/PolyUtil.kt +++ b/library/src/main/java/com/google/maps/android/PolyUtil.kt @@ -46,7 +46,7 @@ import kotlin.math.tan * using either geodesic (great circle) or rhumb (loxodromic) paths. */ object PolyUtil { - private const val DEFAULT_TOLERANCE = 0.1 // meters + const val DEFAULT_TOLERANCE = 0.1 // meters /** * Computes whether the given point lies inside the specified polygon.