CoordinateProvider | R Documentation |
coordinates methods
charlatan::BareProvider
-> CoordinateProvider
charlatan::BareProvider$bothify()
charlatan::BareProvider$lexify()
charlatan::BareProvider$numerify()
charlatan::BareProvider$print()
charlatan::BareProvider$random_digit()
charlatan::BareProvider$random_digit_not_zero()
charlatan::BareProvider$random_digit_not_zero_or_empty()
charlatan::BareProvider$random_digit_or_empty()
charlatan::BareProvider$random_element()
charlatan::BareProvider$random_element_prob()
charlatan::BareProvider$random_int()
charlatan::BareProvider$random_letter()
charlatan::BareProvider$randomize_nb_elements()
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.