View source: R/utils-location.R
validateLonLat | R Documentation |
Longitude and latitude are validated to be parseable as numeric and within the bounds -180:180 and -90:90. If validation fails, an error is generated.
validateLonLat(longitude = NULL, latitude = NULL)
longitude |
Single longitude in decimal degrees E. |
latitude |
Single latitude in decimal degrees N. |
Invisibly returns TRUE
if no error message has been generated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.