/mapview/allFeatures

The allFeatures method exported from the module is assigned to a mapview in the mapview decorator

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:
NameTypeDescription
eobject

The click event.

mapviewmapview

The mapview from which the click [Map] event originates.

Properties
NameTypeDescription
e.pixelObject

The pixel object for the click event pointer location.