geolocator: Locates points on a plot initialized by geoplot.

Description Usage Arguments Value See Also

View source: R/geolocator.R

Description

The function locates points on a plot initialized by geoplot returning their latitude and longitude.

Usage

1
geolocator(type = "p", n = 0)

Arguments

type

Same parameter as in the locator function. Type = "l" draws line between points.

n

Number of points. Default value is zero, then the point coordinates are located till the mouse' middle button is clicked.

Value

A list with components $lat and $lon. or ($x, $y if geopar$projection = "none")

See Also

geoplot, locator, geodefine.


geo documentation built on May 29, 2017, 5:36 p.m.