com.supermap.mapping

Class SelectionMode



  • public class SelectionMode
    extends Enum

    This class defines the available selection mode types constants when selecting objects.

    Whether the object is selected is decided by object, spatial position of selected area and selection mode. When the object is the same with the spatial position of selected area, if the selection mode is different, whether the object is selected also is different. SuperMap supports several select methods, such as selecting by clicking, selecting by drawing a rectangle, selecting by drawing a circle, and etc. The Selection Mode supports all the select methods except the one selecting by clicking.

    • Field Detail

      • CONTAIN_INNER_POINT

        public static final SelectionMode CONTAIN_INNER_POINT
        Selects the feature whose centroid is in the selected region.
      • INTERSECT

        public static final SelectionMode INTERSECT
        Selects the feature that intersects the selected region.
      • CONTAIN_OBJECT

        public static final SelectionMode CONTAIN_OBJECT
        Selects the feature who is contained in the selected region.