Locate points on an existing map. This uses map2lonlat() to infer the location in geographical space, so it suffers the same limitations as that function.

mapLocator(n = 512, type = "n", ...)

Arguments

n

number of points to locate; see locator().

type

type of connector for the points; see locator().

...

extra arguments passed to locator() (and either mapPoints() or mapLines(), if appropriate) if type is not 'n'.

See also