Hi everyone--

I'm having an issue with my map not working in IE8 (link:
http://www.caliban.cc/maps.php?c=paddle&loc=15)

The environment:
-Using maps v2 (193c).
-Using two external scripts, mapiconmaker.js and dragzoom.js.

What the map is supposed to do:
-The map shows a cluster of markers parsed from an XML file. PHP
populates the index of the initially-selected marker and XML source in
the script.
-I then assign a higher importance to the one marker selected. (you
can play with this by assigning the "loc" value in the URI query from
10 to 17.)
-The zindex bit uses zIndexProcess:myFunction as described in Mike
William's very illuminating econym site.
-I added a sidebar with links. Clicking a link fires the associated
marker's showMapBlowup() method.
-Eventually, I will add a mouseover that changes the icon image.

The symptoms:
-As written, the code works in FF, IE7, Opera, and Chrome.
-The map populates the initial markers correctly in all browsers, with
the selected marker overlay on top.
-In IE8, when a user clicks one of the markers or a sidebar link to
open the showMapBlowup, it throws an error in IE8, finally stopping in
main.js at line 165 with a NaN error.
-When the link or marker is clicked in FF, firebug displays a cluster
of "Error in parsing value for 'z-index'. Declaration dropped."
messages, but the script still completes with the desired result.

Diagnostics I've done so far:
-Page successfully passes w3c validation.
-Remove the zIndexProcess option...result: showMapBlowup works in all
browsers, no errors.
-Replace the showMapBlowup with openInfoWindowHtml...result: Still
fails in IE8 and shows zindex messages in firebug.
-Remove scripts and references to dragzoom.js and
mapiconmaker.js...result: Still fails in IE8 and shows zindex messages
in firebug.
-The same symptoms exist in v3, v2.bleedingedge. V2.stable fails with
an unknown function error at setUIToDefault().

Summary:
-zIndexProcess works in all browsers as long as I don't call the
showMapBlowup or openInfoWindowHtml method on the marker after the
fact by clicking a link.
-Removing zIndexProcess enables the showMapBlowup method to work in
all browsers when a link / marker is clicked.

I suspect (and hope) it has something to do with how I'm calling
things and in what order as opposed to an IE8-specific bug.

Any help is appreciated.

Thanks!

-Joe

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