Skip to content

Commit c4eef64

Browse files
authored
chore: Make DEFAULT_TOLERANCE public (#1619)
Make the `DEFAULT_TOLERANCE` constant in `PolyUtil` public, reverting an oversite when the class was ported to Kotlin.
1 parent 5d7b0e7 commit c4eef64

File tree

1 file changed

+1
-1
lines changed
  • library/src/main/java/com/google/maps/android

1 file changed

+1
-1
lines changed

library/src/main/java/com/google/maps/android/PolyUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import kotlin.math.tan
4646
* using either geodesic (great circle) or rhumb (loxodromic) paths.
4747
*/
4848
object PolyUtil {
49-
private const val DEFAULT_TOLERANCE = 0.1 // meters
49+
const val DEFAULT_TOLERANCE = 0.1 // meters
5050

5151
/**
5252
* Computes whether the given point lies inside the specified polygon.

0 commit comments

Comments
 (0)