a_map.RdCreate Virtual Reality Map.
a_map( lat = 45.9, lon = 6.8, radius = 5, zoom = 12, axes_on = FALSE, mapbox_token = Sys.getenv("MAPBOX_TOKEN"), rotation = aframer::xyz_aframe(-90, 180, 0), position = aframer::xyz_aframe(0, 0.7, -1.5), scale = aframer::xyz_aframe(2, 2, 2), ... )
| lat | Center coordinates of map. |
|---|---|
| lon | Center coordinates of map. |
| radius | The radius of the circle that fits the terrain. |
| zoom | Satellite zoom resolution of the tiles in the terrain. Select from 11, 12, 13, 14, 15, 16, 17, where 17 is the highest value supported. For a fixed radius, higher zoom resolution results in more tileset API calls. |
| axes_on | Whether to draw axes. |
| mapbox_token | Mapbox API token. |
| rotation | Rotation of Map, default should work. |
| position | Position of map on scene. |
| scale | Scale of map. |
| ... | Any other options passed to the aframe entity. |