oscar.Control.DataDiscovery

This control is used to allow users to search for data on the map and provided a way for them to download or extract the data.

Summary

Properties

tooltipText

{String}translation key or text to use for the Theme Switcher tool tip.  Default is ThemeSwitcherToolTip.

titleText

{String}translation key or text to use for the Theme Switcher title.  Default is ThemeSwitcherTitle.

iconClass

{String}css class to use for the icon of the widget.

closed

{Boolean}Chooses if the widget should be open or closed initially.  Default is false.

resizable

{Boolean}Chooses if the widget is allowed to be resized.  Default is true.

collapsible

{Boolean}Chooses if the widget can be collapsed.  Default is true.

database {oscar.Util.Database} - The database object to use

for searching.

styles

{Object}Used to select and crop style.

Constructor

oscar.Control.DataDiscovery

Parameters

db{oscar.Util.Database} The database of results for searching.

Constants

CLASS_NAME