g3r.RdCreate a 3D Map.
g3r( lat = 45.9, lon = 6.8, radius = 5, zoom = 12, mapbox_token = Sys.getenv("MAPBOX_TOKEN"), units_side = 1, walls = FALSE, axes = FALSE, alpha = FALSE, width = "100%", height = NULL, elementId = NULL )
| lat, 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. |
| mapbox_token | Mapbox API token. |
| units_side | The side length of the square that fits the terrain in WebGL space. |
| walls | Whethert o show walls/cube. |
| axes | Whether to show helper axes. |
| alpha | Set to |
| width, height | Must be a valid CSS unit (like |
| elementId | Id of div containing map. |