Planit.js

infoboxCoords ()

Class: Marker

Returns the top and left coordinates (in pixels) of where the infobox should be placed, relative to the marker, and based on the marker's offset options.

This is typically not accessed directly, but used by other methods to position the infobox appropriately

Returns: Object

Example

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