google maps flutter check if a point inside a polygon
I found this answer and just modified some minor things to work with dart, I ran a test on a hardcoded polygon. The list _area is my polygon and _polygons is required for my mapcontroller. final Set<Polygon> _polygons = {}; List<LatLng> _area = [ LatLng(-17.770992200, -63.207739700), LatLng(-17.776386600, -63.213576200), LatLng(-17.778348200, -63.213576200), LatLng(-17.786848100, -63.214262900), LatLng(-17.798289700, -63.211001300), LatLng(-17.810547700, … Read more