Learn R Programming

RgoogleMaps (version 1.5.1)

IdentifyPoints: identify points by clicking on map

Description

The user can try to identify lat/lon pairs on the map by clicking on them

Usage

IdentifyPoints(MyMap, n = 1, verbose = 0)

Value

the lat/lon coordinates of the chosen points are returned

Arguments

MyMap

map object

n

the maximum number of points to locate.

verbose

level of verbosity

Author

Markus Loecher

Examples

Run this code


#The first step naturally will be to download a static map from the Google server. A simple example:





 #identifiy points:


 #IdentifyPoints(MyMap,5)





Run the code above in your browser using DataLab