Re: "Directions"
I don't know why you are using the "arbitrary directions" code, why not
use the get directions example Mike Williams has on his tutorial:
http://www.econym.demon.co.uk/googlemaps/
The following example entitled "Conventional programming - Get
Directions" shows how to add the "Get Directions" buttons to the
infoWindows:
http://www.econym.demon.co.uk/googlemaps/basic4.htm
I'm not sure why window.open isn't working for you, but your page is
not very good html (you have lots of junk at the end, not that that is
necessarily causing the problem you are reporting). The markers don't
display in Firefox (but it doesn't report errors, although you still
have the error handling disabled). Opera displays the markers but
gives the following error message:
======================================
elodgingatbristol.com/Our Google Map
http://www.elodgingatbristol.com/gMaps/gmaps.html
Inline script thread
Error:
name: ReferenceError
message: Statement on line 518: Reference to undefined variable: color
Backtrace:
Line 518 of inline#4 script in
http://www.elodgingatbristol.com/gMaps/gmaps.html
document.getElementById(color).checked = true;
======================================
I would suggest starting from a simple case so you can determine why it
isn't working.
-- Larry
0 Comments:
Yorum Gönder
<< Home