It's a bit frustrating. To resolve the issue with IE, I had to remove
the path option in the polyline's setOption method. Setting the
zIndex in that setOption method seems to work fine without the path
option. But then, if I do that, the other browsers such as FireFox,
Chrome, and Safari will not set the zIndex of the polyline to be on
top when even on high zIndexes. So, the only way to do it is to set
the path options for the other 3 browsers is to set the path in the
setOption method of the polyline. Otherwise, for IE browser, you
don't need to because the zIndex will take care of things.
Is there a workaround code or a fix to get this working for all
browsers to look the same for a polyline mouseover?
On Jul 12, 12:07 pm, CSharp <
aliquis.igno...@gmail.com> wrote:
> Interestingly, the only difference between your code and my code (in
> terms of setOptions) is that the array of points is set in both the
> anonymous function calls for mouseover and mouseout. I put that into
> my code and it seems to work in Firefox, Chrome, and Safari. In IE,
> if you hover over a line, the line will flicker in and out and then
> the mouseout takes effect. For the Markers, it works fine for the
> polyline.
>
> Try your code in IE and you'll see the same thing. Any clue on why
> this is happening for the polyline mouseover event? I've implemented
> this for thehttp://
www.mentoreng.com/testing/public/map2.html. Hover
> > > >
http://www.mentoreng.com/testing/public/map2.html-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -