When I use my map application outside of facebook everything works
just fine. When I put it inside facebook as an iframe app polylines
stop getting events. If I have a rightclick event on the map it will
work everywhere except for when I click on a polyline then the pixel
passed to the event handler is NaN,NaN and the overlay is not a
polyline. This only happens in facebook and I've tested putting it in
an iframe and that isn't the problem. Other overlays like markers
still get events it's just the polylines.
function onrightclick(pixel,title,line) {
alert(pixel + title + line);
}
alerts:
NaN,NaN [object SVGPathElement] [object HTMLDivElement]
outside of facebook it will alert:
100,100 [object SVGPathElement] [object object]
Any help or suggestions would be greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---