I using google_maps_flutter library on my flutter project, I created a polygon but i wanted to check if a coordinate is within a polygon... how can i do this?
That is google widget
GoogleMap(
myLocationButtonEnabled: false,
myLocationEnabled: true,
mapToolbarEnabled: false,
polygons: myPolygon(),
mapType: MapType.normal,
initialCameraPosition: _initialCamera,
onMapCreated: _onMapCreated,
onCameraMove: _onCameraMove,
onCameraIdle: _onCameraIdle,
),
Please how can i check if a coordinate is within the polygon