Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.19 KB

File metadata and controls

56 lines (45 loc) · 1.19 KB

Poly class


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

    ➡️ 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

    ➡️ boolean