function initialize() { var gmarkers = []; var htmls = []; var to_htmls = []; var from_htmls = []; var i=0; // A function to create the marker and set up the event window function createMarker(point,name,html) { var marker = new GMarker(point); // The info window version with the "to here" form open to_htmls[i] = html + '
Directions:
To here -
From here' + '
Start address:' + '
' + '' + ''; // The info window version with the "to here" form open from_htmls[i] = html + '
Directions:
To here -
From here' + '
End address: