Update main.py

imageFile = "mymap.jpg"
image1 = ImageTk.PhotoImage(Image.open(imageFile))
# get the image size
w = image1.width()
h = image1.height()
# position coordinates of root 'upper left corner'
x = 0
y = 0
# make the root window the size of the image
window.geometry("%dx%d+%d+%d" % (w, h, x, y))

# window has no image argument, so use a label as a panel
panel1 = Tkinter.Label(window, image=image1)
panel1.pack(side='top', fill='both', expand='yes')

positionupdater()
window.mainloop()