sreejith R wrote: > I am doing a project in that I have created a map that displays the places > from postgis table. Then I created a dropdown list that contain all the > places. I want to display the map that shows the particular place select > from the dropdown list on the same <div> that load the first map. > I want to do this operation in the "onchange" event. > Is It possible.If yes,please help me. > I don't have the facility to give my map on web.So I am helpless to provide > the link.Sorry..Please help me..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><title>Jump to place</title></head> <body> <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" name="ifr" id="ifr" src="http://maps.google.com/maps?output=embed&q="></iframe> <form onSubmit="return false;"> <select size="1" name="loc" onChange="frames['ifr'].location.href= 'http://maps.google.com/maps?output=embed&q=' + this.value"> <option value="">Choose a place</option> <option value="New York">New York</option> <option value="Seattle">Seattle</option> <option value="Brussels, Belgium" >Brussels, Belgium</option> </select> </form> </body> </html> Hope this helps, -- Bart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
