map.Hint
Extends IHintManager, IHintSharingManager.
Map hint manager. Each map already has its own hint manager, available as myMap.hint. Only one hint, controlled by this manager, can be open on the map at a time. Don't create new instances of this class unless necessary.
Constructor | Fields | Events | Methods
Constructor
map.Hint(map)
Parameters:
Parameter |
Default value |
Description |
|
— |
Type: Map Reference to a map object. |
* Mandatory parameter/option.
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
Events
Name |
Description |
Closing the info object. Names of fields available via Event.get:
Inherited from IPopupManager. |
|
Opening the info object. Names of fields available via Event.get:
Inherited from IPopupManager. |
Methods
Name |
Returns |
Description |
Closes the info object. Inherited from IPopupManager. |
||
destroy() |
Disables the info object manager. Inherited from IPopupManager. |
|
getData() |
Object|null |
Returns the data of the info object or 'null'. Inherited from IPopupManager. |
IOptionManager|null |
Returns the options manager or 'null'. Inherited from IPopupManager. |
|
Returns the promise object to return the overlay. Inherited from IPopupManager. |
||
IOverlay|null |
Returns the overlay, if one exists. Inherited from IPopupManager. |
|
Number[]|null |
Returns the coordinates of the info object or 'null'. Inherited from IPopupManager. |
|
isOpen() |
Boolean |
Returns the info object state: open/closed. Inherited from IPopupManager. |
Opens the info object at the specified position. Inherited from IPopupManager. |
||
Defines new data for the info object. Inherited from IPopupManager. |
||
Defines new options for the info object. Inherited from IPopupManager. |
||
Specifies a new position for the info object. Inherited from IPopupManager. |
Mandatory parameter/option.