Difference between revisions of "Google Maps API"

From ESE205 Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
2. In order to use google maps, you are required to use a key, which is provided by google
 
2. In order to use google maps, you are required to use a key, which is provided by google
-To access this key go to this website: [https://cloud.google.com/maps-platform/?__utma=102347093.562644606.1542099483.1544509445.1544509445.1&__utmb=102347093.0.10.1544509445&__utmc=102347093&__utmx=-&__utmz=102347093.1544509445.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)&__utmv=-&__utmk=220932120&_ga=2.134155342.1986037279.1544509368-562644606.1542099483#get-started enabling google maps platform]
+
*In order to access this key go to this website: [https://cloud.google.com/maps-platform/?__utma=102347093.562644606.1542099483.1544509445.1544509445.1&__utmb=102347093.0.10.1544509445&__utmc=102347093&__utmx=-&__utmz=102347093.1544509445.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)&__utmv=-&__utmk=220932120&_ga=2.134155342.1986037279.1544509368-562644606.1542099483#get-started enabling google maps platform]
 +
*Create a project, and set up billing (its free if you use an individual account)
 +
*From this point you will be able to activate your key
 +
 
 +
3. In order to call the google maps API and visualize a maps display, we can create an HTML file:
 +
*We can either create a HTML file which makes this call
 +
*Or, if we want to have more accessibility, and do more than just call an already programmed map(for example if you want to take data from a CSV file, and plot it accordingly) you can also program this HTML file in python
 +
 
 +
4. To create this HTML file, we will
  
  

Revision as of 06:43, 11 December 2018

1.Before you start, make sure you have the newest version of Python, a wifi connection, and a google account.

2. In order to use google maps, you are required to use a key, which is provided by google

  • In order to access this key go to this website: enabling google maps platform
  • Create a project, and set up billing (its free if you use an individual account)
  • From this point you will be able to activate your key

3. In order to call the google maps API and visualize a maps display, we can create an HTML file:

  • We can either create a HTML file which makes this call
  • Or, if we want to have more accessibility, and do more than just call an already programmed map(for example if you want to take data from a CSV file, and plot it accordingly) you can also program this HTML file in python

4. To create this HTML file, we will