
Specification for an interactive (leaflet) map
Source:R/spatial_object.R
morie_spatial_leaflet_spec.RdSpecification for an interactive (leaflet) map
Examples
morie_spatial_leaflet_spec(morie_spatial(data.frame(lon = -79, lat = 43)))
#> $provider
#> [1] "OpenStreetMap"
#>
#> $interactive
#> [1] TRUE
#>
#> $center
#> lon lat
#> -79 43
#>
#> $zoom
#> [1] 8
#>
#> $points
#> lon lat
#> [1,] -79 43
#>