new Decorating(optionsopt, decorationMixins)
Class that extends ol.source.GeoJSON for providing features decorated by an array of mixin objects
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
Object |
<optional> |
Vector source options |
decorationMixins |
Array.<Object> | An array of objects whose members will be added to all features created by this source |
- Source:
- See:
Fires:
Extends
- ol.source.Vector
Members
(static) LoaderEventType :string
Enumeration for feature loading event type
Type:
- string
Properties:
Name | Type | Description |
---|---|---|
FEATURESLOADED |
string | The features loaded event type |
FEATURELOADERROR |
string | The feature load error event type |
- Source:
Methods
isXhrFeaturesLoaded() → {boolean}
Has the request for geoJSON data completed successfully
- Source:
Returns:
The value indicating if the XHR request has successfully loaded the geoJSON data
- Type
- boolean
Events
change:featureloaderror
The feature load error event
Type:
- boolean
- Source:
change:featuresloaded
The features loaded event
Type:
- boolean
- Source: