Object Reference : Object View and Procedure Reference : Geomap
Link an attribute in the geomap object to a series in the workfile.
geomap_name.link attribute_name series_name
associates individual shapes in the geomap with observations in the workfile by matching attribute values for shapes (defined in the loaded shapefile), with the values of the series.
If there are multiple matching series observations for a given attribute value, the first matching series observation value will be used.
gmap1.link fips statesfips
links the values of the FIPS attribute of each area to the first matching observation in the STATEFIPS series.
See “Geomaps” for a discussion of geomaps. See “Value-Based Text and Fill Coloring” for discussion of color settings.
See also Geomap::setfillcolor.