Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

containsLocation

  • containsLocation(point: null | LatLng, polygon: null | Polygon): boolean
  • Computes whether the given point lies inside the specified polygon.

    Parameters

    Returns boolean

isLocationOnEdge

  • Computes whether the given point lies on or near to a polyline, or the edge of a polygon, within a specified tolerance. Returns true when the difference between the latitude and longitude of the supplied point, and the closest point on the edge, is less than the tolerance. The tolerance defaults to 10-9 degrees.

    Parameters

    Returns boolean

Generated using TypeDoc