Hi everyone! I am creating an app where a user can add multiple markers to Google Maps. The marker info is coming from a Firestore collection with Lat Lng's, I've setup a dropsheet over the Map page with a Algolia search to show the user a filtered listview of items from the collection, each has a "Add to Map" button with an action than passes a parameter holding the Lat Lng details.
Then back on the Map page, the Map Widget pulls in the marker details from the parameter. I can get a single marker to appear on the map (no matter if I choose "Multiple" of "Single" marker setting) however when the user opens the dropsheet and adds another marker, it removes the old one and puts the new marker on.
Ideally I'd like to have the Map begin blank and the user can add several markers to the map. Would this require custom code? Thank you in advance!
(In addition, if I can get this working my next step would be to keep the dropsheet open while the user adds the markers, then closing the dropsheet back to the map will have all the markers on the map. )