CoordinateProvider | R Documentation |
coordinates methods
lon()
a latitude value
CoordinateProvider$lon()
lat()
a longitude value
CoordinateProvider$lat()
position()
a position, of form [longitude,latitude]
CoordinateProvider$position(bbox = NULL)
bbox
optionally, specify a bounding box for the position
to be in, of the form [west,south,east,north]
- checks that the
bbox has valid values for lat and long
clone()
The objects of this class are cloneable with this method.
CoordinateProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
z <- CoordinateProvider$new()
z$lon()
z$lat()
z$position()
z$position(bbox = c(-120, 30, -110, 60))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.