靜態unReturns the collection of layers in this group.
Collection of layers that are part of this group.
Set the collection of layers in this group.
Collection of layers that are part of this group.
Set 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.
可選opt_options: GroupOptionsLayer options.
A ol.Collection of layers that are handled together.
A generic change event is triggered when the group/Collection changes.
Classdesc
A ol.Collection of layers that are handled together.
A generic
changeevent is triggered when the group/Collection changes.參數: opt_options
Layer options.
Api
stable