MGMap.setSelectionMode   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

void setSelectionMode(String mode)

Description

Sets the selection mode, which controls how map features are selected when a feature is not fully contained in the selection area.

Parameters

mode - The selection mode, either Centroid (selects features whose center points fall within the selection area) or Intersection (selects features that are completely or partially contained within the selection area).

Error Codes

none

See Also

SelectionMode, getSelectionMode