Telogis.GeoBase.Widgets.Slider |
Widgets.Slider inherits from Widgets.MapControl.
A skinnable widget used to control zoom levels on a map.
Type | Description |
---|---|
Errors.ConfigurationError | If no valid Widgets.SliderSkin could be found. |
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Widgets.Slider(config) | Arguments
|
Name | Description |
---|---|
getSize (Function callback) | Finds the dimensions of the slider control. Since these are only available once its skin has fully loaded, there may be a small delay before they can be returned. Hence, this procedure is asynchronous, and returns the size to a callback function. Arguments
|
setMap (Telogis.GeoBase.Map map) | Associates the Widgets.Slider with a certain Widgets.Map and updates it accordingly. After this call, the slider will be updated whenever the map is zoomed. Arguments
|
update (Number updateType) | Checks the current zoom level of the bound map and displays it correctly on the slider. Arguments
|