Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+8X3fU2yj5M-kFd24haVuAA8jEpR_W8dpg7A7ueAT45yT4WDA@mail.gmail.com>
Date: 2015-04-25T03:47:23Z
From: Jim Lemon
Subject: Interactive maps
In-Reply-To: <14ced9434a5-238a-16312@webprd-a80.mail.aol.com>

Hi Antonio,
If you do create the map in R, you can use locator().

Jim


On Sat, Apr 25, 2015 at 8:37 AM, Antonio Serrano via R-help
<r-help at r-project.org> wrote:
>
>  Hello, all:
>
>    I am new here, and have a challenge to present some graphical data to the user in a convenient way.
>
>    The challenge is to present a map to the user which is coloured with the value of a variable. Say for example, temperature. This is a preexisting graph that I can generate in any format, including svg. I don't have to produce it using R.
>
>    When the user clicks anywhere in the map, the coordinates (longitude and latitude) have to be passed to R so that this, R, can look for the values of other variables in that location and make another graph with them.
>
>    Does anyubody know how could I accomplish this?.
>
>    Thanks in advance.
>
>
>
> Antonio Serrano
> aasdelat at aim.com
> ?
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.