get.longlat | R Documentation |
A Google Maps API Key is required for this function, which can be obtained at https://cloud.google.com/maps-platform/ (credit card details need to be provided but it can be used for free for a certain limit of queries)
get.longlat(place = "Alice Springs, Australia", key = 'your key')
place |
String describing the location, e.g. "Alice Springs, Australia" |
key |
Your API key |
longlat The longitude and latitude in decimal degrees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.