infoboxVisible ()
Class:
Marker
Returns whether or not the infobox is currently visible. Returns false if it is not visible or if there is no infobox. It does this by looking for the existence of an infobox, and then whether or not it has the active
class.
Returns: Boolean
Example
// assuming you already have access to `marker` as a Marker object
marker.infoboxVisible()