/mapview/allFeatures
The allFeatures method exported from the module is assigned to a mapview in the mapview decorator
- Source
Methods
(inner) allFeatures(e, mapview)
The allFeatures method checks for all features at a pixel location with the [highlight] interaction.layerFilter and interaction.hitTolerance as options.
A list element is created for each feature with the element click event passing the feature as argument to the interaction getFeature method.
Parameters:
PropertiesName | Type | Description |
---|---|---|
e | object | The click event. |
mapview | mapview | The mapview from which the click [Map] event originates. |
Name | Type | Description |
---|---|---|
e.pixel | Object | The pixel object for the click event pointer location. |
- Source