search the API under the info window. There used to be a way to do that in v2 via openInfoWindow, or something along those lines.