creates a new instance
the options for the layer
gets the features in the layer
adds a feature to the layer
the feature to add to the layer
a flag indicating if the underlying sources were modified
creates and adds a custom feature to the layer from an existing feature
the properties of the feature
the feature to create a custom feature from
creates and adds a custom feature to the layer from a geo json object
the properties of the feature
the geo json string or object to create a feature from
adds several features at once to the layer, should be used instead of adding features individually where possible
the features to add to the layer
a flag indicating if the underlying sources were modified
adds a handler to listen for the features added to layer
the handler to call when features have been added
creates and adds a custom feature to the layer
the properties of the feature
the coordinates of the geometry
creates and adds a custom feature to the layer
the properties of the feature
the coordinates of the geometry
creates and adds a custom feature to the layer
the properties of the feature
the coordinates of the geometry
creates and adds a custom feature to the layer
the properties of the feature
the coordinates of the geometry
creates and adds a custom feature to the layer
the properties of the feature
the coordinate of the geometry
creates and adds a custom feature to the layer
the properties of the feature
the coordinates of the geometry
clear all features from the layer
a flag indicating if the underlying sources were modified
finds features close to provided source
AlloyCoordinate
, AlloyFeature
or Geometry
source to measure distance of
features from
distance (in metres) from source for which to return features
an array of results ordered by closest first
removes a feature from the layer
the feature to remove from the layer
a flag indicating if the underlying sources were modified
removes a handler listening to the features added to layer
the handler to stop listening
Temp function resets style for an ol feature
openlayers feature for which we want to reset style
Generated using TypeDoc
an alloy custom layer for rendering custom features provided externally on the map, use this to add custom features onto the map and manage them manually