0

I am making a community surveillance app in Flutter. My app uses the google_maps_flutter package to display maps and mongo_dart for providing database services.

Users should be able to report events/incidents that happen on a map, similar to how one can report an accident in Waze. After entering report mode the user is shown a full screen map, he/she must then tap on a location on the map, and a pin marker should drop where he/she tapped. Furthermore, I'd then like to extract the pin's lat/long values so I can later store them in a database so other users can be notified of the event taking place at that location.

How can I implement the marker to be dropped where the user taps and extract the lat/long information?

I have created a new page that is opened which displays a full screen map so users can select a location, the so-called report mode. I have not had much luck going further than this, unfortunately.

Ramin
  • 1
  • 1

0 Answers0