I want to show google map of selected theatre. first user have to select city then they have to choose theatre as per selected city. i have used drop down box for both. then, after selecting theatre, when he clicks on show button i want to show google map of that theatre.
plz help me i have tried my best but i cant be able to do this. so plz help me
Do you need a button click to show a map or should it be loaded automatically on dropdown selection?
How are you delivering the Google Map - is it a custom map with an url in a DB, or is it a live map based on lat/long? Provide more info.
i have save path of theatre in my database table. and like above procedure i want to show google map in new window or in popup window by clicking button
Do you mean something like this: if you visit onderwaterwereld.org and then click on the item "Duik locaties" it will open a map in a popup. The popup is just a separate html page with all the map specifics. Copy what you need.
sory for late reply. and thanks for sugession. i have refer that link. i want to do something like that. but i want to disply theatre location as per user's choice.
The solutions I can think of is creating a page scpecifically for a specific map, with a map generated by passing the city and theater in the URL, or through Ajax
Client Selection & Server-side map info display using GET (what ever this is :D)
- with this one, you have to prepare the map info, based from the passed GET data on another script.
Client-side with ajax
Let me know if I missed something out.
I have find this from net. this is work fine. but i want to just change this with as:
i want to give chance user to select the theatre from drop down list. then click on button and it have to show google map of that theatre. i have also write drop down box code here. plz refer this and guide me.
import tkinter root = tkinter.Tk() root.geometry("200x200") buttons=[i for i in range(10)] def getNext(): #If specific button is pressed, output "YES" for num in buttons: btn=tkinter.Button(root, text=num,command=getNext) btn.pack(side=tkinter.TOP)
I have written a formal Deadlock prevention code but I'm having trouble implementing this algorithm. Any help is appreciated.
I have represented the algorithm below,
Formal algorithm description
Data structures ...
from tkinter import* import tkinter import sqlite3 import sys conn = sqlite3.connect('REVISION CARD.db') c=conn.cursor() def load(): root=Tk() root.title("REVION CARDS") root.geometry("700x400+100+100") w1=Label(root, text="Question") w1.pack() e=Entry(root,width=40) e.pack() w2=Label(root,text="Answer") w2.pack() e1=Entry(root,width=40) e1.pack() toolbar=Frame(root) ...