On Dec 6, 2:33 am, JamesDavy <[email protected]> wrote:
> It was indeed commented out. I have uncommented the line that
> initializes 'currentIdxMyMarkers'.

It is still undefined in the global scope (which is where click
listeners execute, it might be available there due to function
closure).

The reason I was looking at that was that it is used in the click
listener to open the infowindow, which is where you are getting your
error.

I see a bunch of what appear to be asynchronous calls in the call
stack (GAddMessages) and nothing to do with your code, so you need to
figure out what in your call to openinfowindow is causing the failure.

I would suggest adding some debug statements to your click listener to
see what is happening and possibly simplify your code so it works then
start adding functionality back in.  You are probably doing something
wrong in your infowindow tab configuration, you might start looking
there.

Another option would be to search the group for this error, it has
come up before, this particular error doesn't remind me of anything
though.

  -- Larry

> It doesn't seem to affect the Unknown Runtime error
>
> The only change is now I appear to get 12 errors showing up in IE all
> at once when I check the debug screen, instead of one after the
> other... everything is still fine in FF.
>
> the errors are as follows:
>
>   Unknown runtime error  main.js, line 454 character 43
>   Unknown runtime error  main.js, line 454 character 43
>   Object doesn't support this property or method  mod_apiiw.js, line 1
> character 1
>   Unknown runtime error  main.js, line 454 character 43
>   Object doesn't support this property or method  mod_apiiw.js, line 1
> character 1
>   'undefined' is null or not an object  main.js, line 372 character 80
>   'undefined' is null or not an object  main.js, line 372 character 80
>   Unknown runtime error  main.js, line 454 character 43
>   Unknown runtime error  main.js, line 454 character 43
>   Object doesn't support this property or method  mod_apiiw.js, line 1
> character 1
>   Unknown runtime error  main.js, line 454 character 43
>   Unknown runtime error  main.js, line 454 character 43
>
> On Dec 3, 5:06 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > On Dec 3, 5:55 am, JamesDavy <[email protected]> wrote:
>
> > > Hello again,
>
> > > I'm having trouble trying to find a solution to my problem. Best way
> > > to show the issue is for you to visit the site (In Internet Explorer)
> > > and try to click one of the icons on the 
> > > map:http://edit.br.fgov.be/congorives2/
>
> > > The site works great in Firefox and Chrome, but in IE I get several
> > > errors, it starts with the Unknown error when you click the icon, and
> > > then follows up with 'undefined' is null or not an object.
>
> > > Both of these errors come from main.js of the google API. Further
> > > searching points me to an issue with Internet Explorer and something
> > > to do with innerHTML, as the line the first error indicates points to
> > > an innerHTML command. But I have no clue what to do about it.
>
> > > Please let me know what I've done wrong.
>
> > My browser doesn't believe the variable "currentIdxMyMarkers" is
> > defined.
>
> >   -- Larry
>
> > > Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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