The SDM maintains a list of selected features which is initially empty. When the mouse mode has been set to select one feature, via methods:
and the user successfully selects a feature, the list will contain the one feature. When the mouse mode has been set to select multiple features, via method:
and the user successfully selects one or more features, the list will contain those features selected. Each new selection made by the user, destroys the previous list.
Features in the selection list are highlighted in the selection color, which is red by default. The client can modify the selection color via ViewAPI.setSelectionColor.