Description Usage Arguments See Also Examples
Plots a google earth map that shows the location of SAR records.
Uses the gmap
method of the dismo package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | plotGmap(object, xlim = c(-5, 5) + mean(object@extent[1:2]), ylim = c(-5, 5)
+ mean(object@extent[3:4]), xlab = "Longitude", ylab = "Latitude",
sar = T, col = rgb(1, 0, 0, 0.5), scale = 1, border = "black", ...)
## S4 method for signature 'SAR'
plotGmap(object, xlim = c(-5, 5) + mean(object@extent[1:2]),
ylim = c(-5, 5) + mean(object@extent[3:4]), xlab = "Longitude",
ylab = "Latitude", sar = T, col = rgb(1, 0, 0, 0.5), scale = 1,
border = "black", ...)
## S4 method for signature 'SARSet'
plotGmap(object, xlim = c(-5, 5) +
mean(object@extent[1:2]), ylim = c(-5, 5) + mean(object@extent[3:4]),
xlab = "Longitude", ylab = "Latitude", sar = T, col = rgb(1, 0, 0,
0.5), scale = 1, border = "black", ...)
|
object |
object of the |
xlim |
the x limits (x1, x2) of the plot. |
ylim |
the y limits (y1, y2) of the plot. |
xlab |
title of the x axis. |
ylab |
title of the y axis. |
sar |
TRUE if location should be plotted. |
col |
color within the recorded area. |
scale |
1 or 2. Using 2 doubles the number of pixels returned (and thus gives you better image quality if you need a large image). |
border |
color of the |
... |
graphical parameters of |
plotMap
, gmap
, border
, plotBorder
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.