i want to create one textbox which accept city or country name and when user click on button the map will display and load another textbox control which accept another location and the second map will display this process is want to continue at n number.
Share
You need to combine the techniques from several places:
You’re going to have to instantiate new divs (perhaps using jQuery) and instantiate new Google Map instances for each new map. The center point of each independent map will be defined by the values returned from the Geocoding API. You’ll have to have a data structure of some sort to keep up with the map instances, and a method to organize the newly created divs to tell the Google Maps API where to draw the map tiles.