"directionsDisplay is not defined"

declare directionsDisplay as global, it should fix the problem!


2010/8/6 [email protected] <[email protected]>

> On Aug 5, 11:04 am, Lawrence <[email protected]> wrote:
> > I am using the Google Map API to display driving directions based on
> > an address entered into a form that I have to do some calculations on.
> > To submit the form I call the JavaScript function codeAddress and then
> > use window.location to redirect to my map display page and have
> > JavaScript and VBScript mixed together to render the driving
> > directions with some mass transit schedule information.
> >
> > This all works fine in IE. However in Firefox the map initializes fine
> > but will only occasionally render the driving path and text
> > directions.
> >
> > Any suggestions?
>
> As firefox has much more useful debugging tools than IE, I have to
> ask:
> Did you look at the Error Console  (Tools:Error Console or Ctrl-Shift-
> J)?
>
> There seem to be some obvious ones, like:
> Error: directionsDisplay is not defined
> Source File:
>
> http://www.dart.org/presentations/directionsToRail.asp?switch=pushGeoData&geoData=(32.750341,%20-97.067835)&address=616%206%20Flags%20Dr,%20Arlington,%20TX%2076011,%20USA&mode=DRIVING&parking=YES&timeOfDay=Early%20Morning&monthSelected=9&dateSelected=24<http://www.dart.org/presentations/directionsToRail.asp?switch=pushGeoData&geoData=%2832.750341,%20-97.067835%29&address=616%206%20Flags%20Dr,%20Arlington,%20TX%2076011,%20USA&mode=DRIVING&parking=YES&timeOfDay=Early%20Morning&monthSelected=9&dateSelected=24>
> Line: 80
>
>  -- Larry
>
> >
> > Here is the link:
> >
> > http://www.dart.org/presentations/directionsToRail.asp
> >
> > Thank you.
> > Lawrence
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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.

Reply via email to