Multiple markers on Google maps using an API response

Does anyone know how you can use the Google maps widget to show multiple markers on it? I don't want to use a list of just LatLngs though because then my markers have no meta data. I want the user to be able to click on a marker which then takes them to a new page and passes a page parameter with it.

One thought would be to convert my API response into a list of firestore documents but I'm not sure if this is possible.

Any help would be greatly appreciated.

3
1 reply