0

I am making a Tkinter based application in python which tracks the movement of users and plot them on a graph. now ploting the points on a graph is no biggie, but what i couldnt manage was to give the background image as a map

currently my progress for this particular feature is nothing but as follows.

import matplotlib.pylab as plt
a=[[],[]]
a[0]=[12.28384,12,23434]#100's of values extracted from some csv file
a[1]=[80.12332,80.13312]#consider a[0],a[1] as latitude,longitude respectively
plt.plot(a[0],a[1])
plt.show()
  • This answer explains how to set an image background in tkinter: https://stackoverflow.com/a/10181434/2570277 – Nick Mar 13 '19 at 17:05
  • i know how to add a single image, but my problem is vaster, location data is not limited to a single image. so i wanted to use maps directly. – Kartik Narang Mar 13 '19 at 17:10

1 Answers1

0

This answer explains how to embed a map in a Tkinter window and may help.

You could also look at this example that uses the GooMPy library to embed an interactive google map in a Tkinter window.

Nick
  • 3,454
  • 6
  • 33
  • 56