getSquaredDistanceToClosestEdge

open fun getSquaredDistanceToClosestEdge(@NonNull latLng: MPLatLng): Float

Return

The distance from the given point to this polygon's closest edge or -1 if the given point is outside this polygon's bounding box

Parameters

latLng

point


open fun getSquaredDistanceToClosestEdge(@NonNull point: MPPoint): Float

Return

The distance from the given point to this polygon's closest edge or -1 if the given point is outside this polygon's bounding box

Parameters

point