Poly class

January 28, 2020 ยท View on GitHub


API Reference


Static method

  • containsLocation(location, path)

    Returns true if the specified location is in the polygon path

    Params Type Details
    location ILatLng position you want to check
    path ILatLng[] polygon path

    :arrow_right: boolean

  • isLocationOnEdge(location, path)

    Returns true if the specified location is on the polyline path

    Params Type Details
    location ILatLng position you want to check
    path ILatLng[] polyline path

    :arrow_right: boolean

Contents

  1. 1API Reference
  2. 2Static method
  3. 2.1containsLocation(location, path)
  4. 2.2isLocationOnEdge(location, path)