Chapter Contents

Previous

Next
Map: _setSelection

Map: _setSelection



Selects or deselects the map area or marker identified by the specified variable value.

Restrictions This method cannot be used in the INIT section of the SCL program.


Syntax
Examples

Syntax

CALL NOTIFY (map-name, '_setSelection', selection<, value>);

Argument Type Description
selection
C specifies the type of item to be selected:


'ID' a map area identified by the ID variable in the map data set


'IDMATCH' a marker identified by the IDMATCH variable in the marker data set


'NONE' deselect the currently selected map area or marker.
value
C | N specifies the value of the map area or marker to be selected; this value is a value of the variable specified in selection


Examples

This statement selects a map area whose map data set ID value is 48:

call notify('map1','_set_selection_','id',48);

This statement selects a marker whose IDMATCH value is 'texas':

call notify('map1','_set_selection_','idmatch',
            'texas');

This statement deselects all previously selected items:

call notify('map1','_set_selection_','none');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.