Classes
Methods
-
import {unByKey} from 'ol/Observable';
Removes an event listener using the key returned by
on()
oronce()
.Name Type Description key
The key returned by
on()
oronce()
(or an array of keys).Name Type Description listener
module:ol/events~ListenerFunction Listener.
target
module:ol/events/Target~EventTargetLike Target.
type
string Type.
Type Definitions
-
EventTypes{'change'} {'error'}
-