Description Usage Arguments Value Examples
Random GeoJSON point
1 |
count |
(integer/numeric) number of points. Default: 1 |
bbox |
(integer/numeric) lat/long bounding box from which to generate
positions; numeric vector of the form
|
GeoJSON; a list with one ore more Points in a FeatureCollection,
with class geo_list
- simple unclass()
to remove the class
1 2 3 |
$type
[1] "FeatureCollection"
$features
$features[[1]]
$features[[1]]$type
[1] "Feature"
$features[[1]]$geometry
$features[[1]]$geometry$type
[1] "Point"
$features[[1]]$geometry$coordinates
[1] 1.61824 -56.35557
$features[[1]]$properties
list()
$type
[1] "FeatureCollection"
$features
$features[[1]]
$features[[1]]$type
[1] "Feature"
$features[[1]]$geometry
$features[[1]]$geometry$type
[1] "Point"
$features[[1]]$geometry$coordinates
[1] 104.67476 32.45135
$features[[1]]$properties
list()
$features[[2]]
$features[[2]]$type
[1] "Feature"
$features[[2]]$geometry
$features[[2]]$geometry$type
[1] "Point"
$features[[2]]$geometry$coordinates
[1] 159.14420 42.68287
$features[[2]]$properties
list()
$features[[3]]
$features[[3]]$type
[1] "Feature"
$features[[3]]$geometry
$features[[3]]$geometry$type
[1] "Point"
$features[[3]]$geometry$coordinates
[1] 178.28141 -12.00403
$features[[3]]$properties
list()
$features[[4]]
$features[[4]]$type
[1] "Feature"
$features[[4]]$geometry
$features[[4]]$geometry$type
[1] "Point"
$features[[4]]$geometry$coordinates
[1] 150.91908 12.66727
$features[[4]]$properties
list()
$features[[5]]
$features[[5]]$type
[1] "Feature"
$features[[5]]$geometry
$features[[5]]$geometry$type
[1] "Point"
$features[[5]]$geometry$coordinates
[1] -23.58798 60.27973
$features[[5]]$properties
list()
$features[[6]]
$features[[6]]$type
[1] "Feature"
$features[[6]]$geometry
$features[[6]]$geometry$type
[1] "Point"
$features[[6]]$geometry$coordinates
[1] 164.15368 -15.17756
$features[[6]]$properties
list()
$features[[7]]
$features[[7]]$type
[1] "Feature"
$features[[7]]$geometry
$features[[7]]$geometry$type
[1] "Point"
$features[[7]]$geometry$coordinates
[1] -16.111145 2.459309
$features[[7]]$properties
list()
$features[[8]]
$features[[8]]$type
[1] "Feature"
$features[[8]]$geometry
$features[[8]]$geometry$type
[1] "Point"
$features[[8]]$geometry$coordinates
[1] 161.681528 2.898208
$features[[8]]$properties
list()
$features[[9]]
$features[[9]]$type
[1] "Feature"
$features[[9]]$geometry
$features[[9]]$geometry$type
[1] "Point"
$features[[9]]$geometry$coordinates
[1] 21.9248631 -0.2611159
$features[[9]]$properties
list()
$features[[10]]
$features[[10]]$type
[1] "Feature"
$features[[10]]$geometry
$features[[10]]$geometry$type
[1] "Point"
$features[[10]]$geometry$coordinates
[1] 125.81513 42.29417
$features[[10]]$properties
list()
$type
[1] "FeatureCollection"
$features
$features[[1]]
$features[[1]]$type
[1] "Feature"
$features[[1]]$geometry
$features[[1]]$geometry$type
[1] "Point"
$features[[1]]$geometry$coordinates
[1] 53.11790 56.64275
$features[[1]]$properties
list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.