IsUserInArea method
dynamic
IsUserInArea(
- dynamic latitude,
- dynamic longitude
Implementation
IsUserInArea(latitude,longitude){
MapToolkit.LatLng point = MapToolkit.LatLng(latitude, longitude);
bool geodesic = true;
bool checkIfUserInArea = MapToolkit.PolygonUtil.containsLocation(point, widget.polygonPoints ?? [], geodesic);
return checkIfUserInArea;
}