Get the first feature at pixel, favor points over lines
Parameters
pixel: Pixel
Returns Feature<LineString|Point>
handleEvent
handleEvent(event:MapBrowserEvent):boolean
Handles the module:ol/MapBrowserEvent~MapBrowserEvent map browser event.
Parameters
event: MapBrowserEvent
Returns boolean
false to stop event propagation.
Api
setActive
setActive(active:boolean):void
Activate or deactivate the interaction.
Parameters
active: boolean
Active.
Returns void
Observable
Api
setMap
setMap(map:Map):void
Remove the interaction from its current map and attach it to the new map.
Subclasses may set up event handlers to get notified about changes to
the map here.
Interaction to modify a Vector Source.