It's not working for me in FF3.5, but it is working for me in IE6 and Google Chrome 2
"...curiouser and curiouser", said alice On Jul 21, 11:45 am, MarcusX <[email protected]> wrote: > Hi! > > I want to show a map with a simple direction from point A to B and > have the viewport automatcally zoomed to the right size and place so > start and endpoint is visible. This is the standard behaviour when I > add a direction to a map with: > > directions.load("from: 500 Memorial Drive, Cambridge, MA to: 4 Yawkey > Way, Boston, MA 02215 (Fenway Park)"); > > Works fine in my example > here:http://www.vision2025.nrw.de/include/inc_gmap.html?mapURL=from%3A+Lin... > > But if I open the same page in a jQuery Thickbox iFrame the Route is > added to the map but the map is in the smallest zoom level and > centered far away from my route. > > You can see this > here:http://www.vision2025.nrw.de/include/my_layout_toukarte_mitDetails.html > > Click on the "Goggle Map Content" Link at the bottom for a demo. > > Is there a method to set the viewport like the default behaviour would > set it after the map with the direction is loaded? Or has anyone an > idea why the viewport setting is not working in the second example and > how I can avoid this? > > kind regards > marcus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
