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