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()
2
  • This answer explains how to set an image background in tkinter: stackoverflow.com/a/10181434/2570277 Commented Mar 13, 2019 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. Commented Mar 13, 2019 at 17:10

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.