We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
classmethod GoogleMapPlotter.geocode(location, apikey='')
Return the lat/lng coordinates of a location string.
Requires Geocoding API.
Parameters
location str – Location or address of interest, as a human-readable string.
str
Optional Parameters
apikey str – Google Maps API key.
Returns
(float, float) – Latitude/longitude coordinates of the given location string.
(float, float)
Usage:
import gmplot apikey = '' # (your API key here) location = gmplot.GoogleMapPlotter.geocode('Versailles, France', apikey=apikey) print(location)
-> (48.801408, 2.130122)
Home
GoogleMapPlotter