Telogis.GeoBase.MapLayers.TileLayer |
MapLayers.TileLayer inherits from MapLayers.AbstractLayer.
Creates a layer that is responsible for displaying the generated tiles from the tile server.
Name | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MapLayers.TileLayer(config) | Arguments
|
Name | Description |
---|---|
destroy () | Disposes of any resources used by the map layer. Call this once the layer is no longer needed if you need to reclaim resources immediately. |
getTileConfig () | Get the information used to create tiles on this layer. ReturnsObject - The configuration object used to create each tile in the layer, see: MapLayers.TileLayer.tileConfig |
reconfigureTiles (Object config) | Applies new configuration settings to the MapLayers.TileLayer's tiles, and reloads the layer so that these are visible. The supplied configuration settings are merged with the existing ones, so that while explicitly specified new values will override the old, existing configuration properties that are not specified here will be preserved. Arguments
|
setExpiry (Number expirySecs) | Sets the expiry time. Arguments
|
setTileConfig (Object config) | Set the information used to create tiles on this layer. Arguments
|
Name | Type | Description |
---|---|---|
_expirySecs | Number | Seconds until we get the tiles again. |
_timeoutHandle | Number | a timeout handle used to safely terminate the refresh loop. |
Load | EventHandler | An event triggered when all the tiles in the layer have completed loading. |