Class: Switcher

Cadcorp.UI.BaseMapSwitcher.Switcher

new Switcher(config)

A control that shows the current base map and allows switching between base map layers
Parameters:
Name Type Description
config Cadcorp.UI.BaseMapSwitcher.SwitcherConfig The configuration object

Members

id

Properties:
Name Type Description
id string The id of the control

prefix

Properties:
Name Type Description
prefix string The asp.net client side id for this control

Methods

(protected) mapAfterInitHandler(eventArgs)

Event handler for the mapafterinit event. The mapping will now be available so the base layers can be found.
Parameters:
Name Type Description
eventArgs Object