View source: R/getGoogleMapsAddress.R
getGoogleMapsAddress | R Documentation |
Get geolocalisation (longitude, latitude) of a given adress with the use of Google Maps API.
The Google Maps API is used to determine the geolocalisation (longitude, latitude) of a given adress.
getGoogleMapsAddress(street = "Banacha 2", city = "Warszawa",
country="Poland", positionOnly = TRUE, delay=1)
street |
An address (street and building number) |
city |
City |
country |
Country |
positionOnly |
What should be returned, vector with longitude, latitude coordinates or the raw result from Google Maps API |
delay |
Number of seconds to wait between api calls |
If positionOnly=TRUE then a vector with two values or a raw list from Google Maps otherwise.
Przemyslaw Biecek
The Google Maps API https://developers.google.com/maps/
## Not run:
getGoogleMapsAddress()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.