On Mar 29, 7:35 am, Neil Parry <[email protected]> wrote:
> Sorry forgot the link.http://www.ridersguide.co.uk/rides.php?route=100
(and you posted a bunch of code that doesn't help)
> Hi All,
>
> I have code to generate a route in google maps on my site.
> The code works great in Firefox but not in IE8.
> It works in IE8 if you just have just a start and finish only but whe you
> add a waypoint in the route does not show.
> Any ideas?
Perhaps look at your javascript errors?
Line: 1
Error: Error in property <waypoints>: (Invalid value: [object Object],
(Error in element at position 1: (Error in property <location>:
('undefined' is null or not an object))))
You have the perennial "hanging comma" issue in IE.
var points = [{location: 'Langholm, Dumfries and Galloway DG13 0,
UK'},];
The comma at the end causes IE to add a null member. When the API
goes to process that null member, it fails.
-- Larry
--
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.