IHotspotObjectSource
Extends ICustomizable.
Source of objects for the hotspot layers.
Constructor | Fields | Events | Methods
Constructor
IHotspotObjectSource()
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
||
Options manager. Inherited from ICustomizable. |
Events
Name |
Description |
Change to the object options. Inherited from ICustomizable. |
Methods
Name |
Description |
Cancels the last request for data. |
|
Builds an array of IHotspotLayerObject objects corresponding to a particular layer, tile, and map zoom level, and passes it to the callback function. |
Methods details
cancelLastRequest
{} cancelLastRequest()
Cancels the last request for data.
requestObjects
{} requestObjects(layer, tileNumber, zoom, callback)
Builds an array of IHotspotLayerObject objects corresponding to a particular layer, tile, and map zoom level, and passes it to the callback function.
Parameters:
Parameter |
Default value |
Description |
— |
Type: hotspot.Layer Hotspot layer. |
|
— |
Type: Number[] Tile coordinates. |
|
|
— |
Type: Number Zoom level. |
— |
Type: Function Handler function. |
* Mandatory parameter/option.
Mandatory parameter/option.