LuciadCPillar C# 2023.1.04
Luciad.Controllers.ISelectionCandidateChooser Interface Reference

A selection candidate handler has the responsibility to show candidates for selection and let a user choose which feature(s) they want to select. More...

Public Member Functions

void ChooseCandidates (System.Collections.Generic.IList< Luciad.Layers.Features.LayerFeatureId > selectionCandidates, Luciad.Cartesian.Coordinate position, Luciad.Controllers.ISelectionCandidateCallback callback)
 This method is called by SelectEventHandler when there are multiple selection candidates. More...
 

Detailed Description

A selection candidate handler has the responsibility to show candidates for selection and let a user choose which feature(s) they want to select.

This class can for example be implemented by showing a popup menu that allows you to choose the feature to select. 2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ISelectionCandidateChooser.

Member Function Documentation

◆ ChooseCandidates()

void Luciad.Controllers.ISelectionCandidateChooser.ChooseCandidates ( System.Collections.Generic.IList< Luciad.Layers.Features.LayerFeatureId selectionCandidates,
Luciad.Cartesian.Coordinate  position,
Luciad.Controllers.ISelectionCandidateCallback  callback 
)

This method is called by SelectEventHandler when there are multiple selection candidates.

It allows to determine which subset of the features need to be selected.

selectionCandidates

: a list of features that could be selected.

position

: the current mouse position. This coordinate is in screen coordinate.

callback

this callback needs to be called to provide the subset of the selection candidates that should be selected.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ISelectionCandidateChooser::chooseCandidates.