gdir = new GDirections(map.getLayersByName('Google Map')[0].mapObject); gdir.load("from: " + fromAddress + " to: " + toAddress, {preserveViewport: true}); -- helmi03.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20091021/ef6c65ba/attachment.html