# new InfoBox(options)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
options | Extend Overlay options |
|
location |
Location |
<optional> |
Location object with the coordinates for popup |
content |
string |
<optional> |
Html content to show in the info popup |
class |
String |
<optional> |
the a class of the overlay to style the popup. |
anim |
boolean |
<optional> |
Animate the popup the popup, default false. |
closeBox |
bool |
<optional> |
popup has a close box, default false. |
onclose |
function | undefined |
<optional> |
callback function when infobox is closed |
onshow |
function | undefined |
<optional> |
callback function when infobox is shown |
offsetBox |
Number | Array.<number> |
<optional> |
an offset box |
positioning |
string |
<optional> |
the 'auto' positioning var the popup choose its positioning to stay on the map. Possible values are |