Skip to contents

With this command you caqn click n times on a map, and get the Lat-Lon co-ordinates of the points.

Usage

laloclick(n=1, ...)

Arguments

n

Number of points to be clicked.

...

Other arguments to 'locator'.

Value

An matrix dim(n,2) containing longitude and latitude.

See also

Examples

if (FALSE) {
lalo <- laloclick(2)   # lalo now contains the co-ordinates
points(proj4(lalo),pch='x')   # indicate the points on the present map.
}