Planit.js

showInfobox ()

Class: Marker

Will show the infobox for the marker if it exists and is not already visible. It does this by adding an active class to the infobox container.

Returns: Boolean (whether action was taken)

Example

// assuming you already have access to `marker` as a Marker object
marker.showInfobox()