Description Usage Arguments Value Examples
View source: R/latlong_to_rayshader_coords.R
Converts WGS84 lat long points into 'rayshader' coordinates. Useful for adding arbitrary points and text to a 'rayshader' scene.
| 1 | latlong_to_rayshader_coords(raster_input, lat, long)
 | 
| raster_input | a raster | 
| lat | vector of WGS84 latitude points | 
| long | vector of WGS84 longitude points | 
A tibble with x,y in 'rayshader' coordinates
| 1 | latlong_to_rayshader_coords(example_raster(), example_igc()$lat, example_igc()$long)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.