Popup
Extends IPopup.
A class for creating an info object.
Constructor | Fields | Events | Methods
Constructor
Popup(map[, options])
Info object.
Parameters:
Parameter |
Default value |
Description |
|
— |
Type: Map Reference to the map. |
— |
Type: Object Options. |
|
700 |
Type: Number Delay before closing (in ms). |
|
— |
Type: String Key for the interactivity model. Available keys and their values are listed in the description of interactivityModel.storage. |
|
150 |
Type: Number Delay before opening (in ms). |
|
— |
Type: IPane|String Info object pane. For the list of available default panes, see map.pane.Manager. |
|
— |
Type: IProjection The projection of the coordinates to global pixels. |
|
— |
Type: String The z-index of the info object. |
* Mandatory parameter/option.
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
||
Options manager. Inherited from ICustomizable. |
Events
Name |
Description |
Closing the info object. Inherited from IPopup. |
|
Opening the info object. Inherited from IPopup. |
|
Change to the object options. Inherited from ICustomizable. |
Methods
Name |
Returns |
Description |
Closes the info object. Inherited from IPopup. |
||
getData() |
Returns info object data. Inherited from IPopup. |
|
Returns the promise object to return the overlay. Inherited from IPopup. |
||
Returns the overlay, if one exists. Inherited from IPopup. |
||
Returns the coordinates of the info object. Inherited from IPopup. |
||
isOpen() |
Boolean |
Returns the info object state: open/closed. Inherited from IPopup. |
Opens the info object at the specified position. If the info object is already open, it moves it to the specified point. The format and content of the coordinates is determined by the IProjection that is in the options. Inherited from IPopup. |
||
Defines new data for the info object. Inherited from IPopup. |
||
Specifies a new position for the info object. Inherited from IPopup. |
Mandatory parameter/option.