OpenLayers JavaScript Mapping Library |
OpenLayers. HandlerBase class to construct a higher-level handler for event sequences. Handlers are created by controls, which ultimately have the responsibility of making changes to the map. Summary
controlPrivate. {OpenLayers.Control}. The control that initialized this handler. mapPrivate. {OpenLayers.Map} OpenLayers. HandlerConstruct a handler. Parameters
|
setMap: function ( map )
checkModifiers: function ( evt )
Turn on the handler.
activate: function()
Turn off the handler.
deactivate: function()
trigger the control’s named callback with the given arguments
callback: function ( name, args )
register an event on the map
register: function ( name, method )
unregister an event from the map
unregister: function ( name, method )
destroy: function ()