mobileViewer.Toolbar

mobileViewer.Toolbar(options) - Constructor

This class is used to generate and manage expanding drop-down toolbars, allowing the application to appear very simple and uncluttered, yet still support a diverse range of functionality.

Methods

The constructor takes an options object that supports the following properties:

map

The main mobileViewer.Map object

div

The div to contain the toolbar

buttons

An array of mobileViewer.Button objects to be displayed within the toolbar