靜態unSet the extent at which the layer is visible. If undefined, the layer
will be visible at all extents.
The extent of the layer.
Listen for a certain type of event.
The event type or array of event types.
The listener function.
可選opt_this: ObjectThe object to use as this in listener.
Unique key for the listener. If called with an array of event types as the first argument, the return will be an array of keys.
Listen once for a certain type of event.
The event type or array of event types.
The listener function.
可選opt_this: ObjectThe object to use as this in listener.
Unique key for the listener. If called with an array of event types as the first argument, the return will be an array of keys.
函數Removes an event listener using the key returned by on() or once().
Note that using the ol.Observable.unByKey static function is to
be preferred.
Layer options.
Abstract base class; normally only used for creating subclasses and not
instantiated in apps.
Note that with ol.layer.Base and all its subclasses, any property set in
the options is set as a ol.Object property on the layer object, so
is observable, and has get/set accessors.
Classdesc
Abstract base class; normally only used for creating subclasses and not instantiated in apps. Note that with
ol.layer.Baseand all its subclasses, any property set in the options is set as a ol.Object property on the layer object, so is observable, and has get/set accessors.參數: options
Layer options.
Api
stable