I have managed to do tasks when an info window of a GMSMarker is clicked. This is where the magic happens
func mapView(_ mapView: GMSMapView, didTapInfoWindowOf marker: GMSMarker)
However, this time, I wish to open a custom view as a new window. I have not seen any helpful posts so I decided to try and ask the question here if anyone has experienced doing so.
My goal is when the info window is clicked, i wish to open my custom view as a new window.
Currently, I only know NavigationView and NavigationLink when opening up new windows but I am not sure how to use this in a GMSMarker info window click event.
Thoughts?