I see my link above is missing the .com. In any case, I played around with an idea that seems to be working for me. Let me know if it works for you ...
http://lab.gmtplusone.com/google-maps/polyline-click-issue/ On Oct 2, 2:13 pm, Alexandre Dube <[email protected]> wrote: > dan_nl, > > First, thanks a lot for your time. > > dan_nl wrote: > > Here are a couple of thoughts, which I haven’t had time to test: > > > 1. Use a GEvent "click" and "mousemove" as an optional way of tracking > > the clicks on the map. > > > a. IE8 will report the "mousemove" GLatLng correctly so at the > > moment of the click grab the mousemove’s GLatLng, here’s one idea on > > how to do it -http://lab.gmtplusone/google-maps/click-event-issue/#the-code. > > > b. Compare the mousemove’s GLatLng received in a to the area of > > your GPolyline. If it's within the GPolyline area then execute the > > click as a click on the GPolyline. > > Already tried that. The map "mousemove" event is not triggered when the > mouse gets over an overlay, so that solution doesn't suit my needs. > > > 2. Try using the > > GTileLayerhttp://code.google.com/apis/maps/documentation/reference.html#GTileLayer > > with an image that has the GPolyline as you would have “normally” > > drawn it with the Google Maps API. > > Ok. What's the benefit of doing so ? > > > Overall, it seems to be part of a continuing saga that a workaround > > needs to be figured out for another IE product, it really is a > > pity ... > > Yeah, that's a shame. > > -- > Alexandre Dubé > Mapgearswww.mapgears.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
