Advertisement
Guest User

mymap.py

a guest
Nov 13th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import gmplot
  2.  
  3. gmap = gmplot.GoogleMapPlotter(39.168451, -8651891, 15)
  4.  
  5.  
  6. l1 = (39.165341, -86.523588)
  7.  
  8. l2 = (39.172725, -86.523295)
  9.  
  10. l3 = (39.166567, -86.517430)
  11.  
  12.  
  13.  
  14. lats = [l1[0],l2[0],l3[0]]
  15. lons = [l1[1],l2[1],l3[0]]
  16.  
  17.  
  18. gmap.scatter(lats, lons, 'red', size=30, marker=False)
  19.  
  20. gmap.plot(lats,lons,'cornflowerblue', size=30, marker=False)
  21.  
  22. gmap.draw("Assignment9/hellobloomington.html")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement