On Dec 15, 7:59 am, clickfwd <[email protected]> wrote:
> Thank you Larry. I've tried using MS Debug Script, but i can't get my
> head around it. I add break points and they don't seem to work.

I tend to just let it break on errors then look at the call stack for
the first line of my (or your) code.  That is usually where the
problem is.

>
> I've done as you suggested and changed the coordinates to numbers, so
> now they appear in the json object like this:
>
> ,"lat":6.42640260555,"lon":99.6691274643,
>
> This, however, didn't solve the problem.

It didn't seem like it would, but if the latitude and longitude are
strings, it could cause problems later.
Is there anything different about that marker?  I don't have access to
the MS Script Debugger at the moment.

It looks like the problem might with the icon.  Is that different for
this marker?  Is it completely defined?

  -- Larry

> What is weird is that the
> same code appears to works fine in IE on this page:
>
> http://demo.reviewsforjoomla.com/new-york-reviews/15-shopping/14--idl...
>
> Do you have any other ideas? Again thanks so much for taking the time
> to look at this.
>
> Alejandro
>
> On Dec 15, 11:13 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Dec 15, 6:53 am, clickfwd <[email protected]> wrote:
>
> > > I searched the group and couldn't find a similar problem. I would be
> > > grateful to anyone who can help me troubleshoot the problem in this
> > > page:
>
> > >http://www.funpace.com/component/content/article/37-hotels/86-the-and...
>
> > > The map loads fine in Firefox and Chrome, but not in IE7 or IE8.
> > > Here's the error:
>
> > > Webpage error details
>
> > > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
> > > Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> > > 3.0.30729; Media Center PC 6.0)
> > > Timestamp: Tue, 15 Dec 2009 14:39:46 UTC
>
> > > Message: Invalid argument.
> > > Line: 144
> > > Char: 28
> > > Code: 0
> > > URI:http://maps.gstatic.com/intl/en_ALL/mapfiles/193c/maps2.api/main.js
>
> > > Thanks!
>
> > Did you try the MS Script Debugger?
>
> > The line of your code that is causing that error is:
> > map.addOverlay(markers_[i]);
> > When i = id86
>
> > I would not suggest setting the latitude and longitude to strings.
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.


Reply via email to