Jan-09-2020, 07:12 PM
I have tried a lot but I am unable to open the google map in tkinter. help me with it. I went through but still I was unable to solve the error
import tkinter from gmplot import * from tk_html_widgets import HTMLLabel root = tkinter.Tk() gmap = gmplot.GoogleMapPlotter(28.5355, 77.3910, 18) #gmap.apikey = "AIzaSyDeRNMnZ__VnQDiATiuz4kPjF_c9r1kWe8" gmap.draw( "map_key.html" ) frame = tkinter.Frame(root, height = 200, width = 200, bg = "yellow").pack() html = open("map_key.html", "r").read() html_label = HTMLLabel(frame, html=html, height = 100) html_label.pack(fill="both", expand=True) html_label.fit_height() root.mainloop()