Constructors

  • Parameters

    • id: null | string
    • lonlat: LonLat
    • contentSize: null | Size
    • contentHTML: string
    • OptionalcloseBox: boolean
    • OptionalcloseBoxCallback: () => {}

    Returns Popup

Properties

autoSize: boolean

APIProperty: autoSize {Boolean} Resize the popup to auto-fit the contents. Default is false.

closeDiv: null | HTMLElement

Property: closeDiv {DOMElement} the optional closer image

contentDiv: null | HTMLElement

Property: contentDiv {DOMElement} a reference to the element that holds the content of the div.

div: null | HTMLElement

Property: div {DOMElement} the div that contains this popup.

id: string

Property: id {String} the unique identifier assigned to this popup.

panMapIfOutOfView: boolean

APIProperty: panMapIfOutOfView {Boolean} When drawn, pan map such that the entire popup is visible in the current viewport (if necessary). Default is false.