View source: R/types.castGeopoint.R
types.castGeopoint | R Documentation |
Cast geographic point
types.castGeopoint(format, value)
format |
available options are "default", "array" and "object", where
|
value |
geopoint to cast |
Types and formats specifications
types.castGeopoint(format = "default", value = list(180, 90)) types.castGeopoint(format = "default", value = '180,90') types.castGeopoint(format = "default", value = '180, -90') types.castGeopoint(format = "array", value = list(180, 90)) types.castGeopoint(format = "array", value = '[180, -90]') types.castGeopoint(format = "object", value = list(lon = 180, lat = 90)) types.castGeopoint(format = "object", value = '{"lon": 180, "lat": 90}')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.