It is useful to be able to provide labels to features on your map when
examining the results of given analysis. This function adds labels for a
given layer (currently just point or polygon layers).
Usage
l(qmap_obj, field = NULL, layer = 1)
Arguments
qmap_obj
a qmap object from which to pull the labels. Raster layers
are ignored. Will also accept sp objects.
field
a field in the sp object to use to label the features. Defaults
to row.names().
layer
identify which sp layer to label. Defaults to first layer
in qmap_obj$map_data.