Hi Susannah, Very very thanks for your help. Currently I can't do this because the application that I am working on is quite big. And users frequently keep on changing the routes, markers etc. Actually I want to display smaller version of the map displayed on my main page in the div popup. It is same as embed feature of Google map under 'link'.
You can take a view of this application at - http://www.ncp.co.uk/find-a-car-park.htm?t=link&s=%20&e=%20&via=%27+via There is a print button on the lower left corner. Beside it I will include an embed button, which opens a popup and shows the same map as on the main page (excluding infowindows) Thanks, Ash On Oct 18, 5:18 pm, "Susannah (Google Employee)" <[email protected]> wrote: > Hi Ashwin, > > Each marker and DirectionsRenderer can be displayed on only one map. > You will need to create separate objects for each map. You can, > however, bind the markers' positions and the directions' result, so > that if you change it on one map, it's changed on the other. > > Let me know if that helps. I'd be curious to see the results! > > Thanks, > Susannah > > On Oct 18, 10:41 pm, Ash <[email protected]> wrote: > > > Hi all, > > > Can anyone help me to show same map in two div's on the same page. > > > Currently I am using bindTo() function to do this. I am able to set > > the zoom and location of the two maps same but cannot plot the > > directions and location markers on the second map. > > > I am using below code to bind the two maps. > > map1.bindTo('center', map2, 'center'); > > > Please answer me with your valuable suggestion > > > Thanks, > > Ash -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
