Maps SDK for Web
tt.Evented
Map (and some other classes) emit events in response to user interactions or changes in state. Evented is the interface used to bind and unbind listeners for these events.
Methods
off(type, listener): Object
on(type, listener): Object
Adds a listener to a specified event type.
Parameters
Returns
this
once(type, listener): Object
Adds a listener that will be called only once to a specified event type. The listener will be called the first time the event fires after the listener is registered.
Parameters
Returns
this