Thank you for your reply, Larry.

My map is in a WPF / Forms browser window.

I add the mouseClickEventHandler when the map is loaded. I then
deactivate it, that the WPF-clickhandler is not always called. I add
it again, when the polyline is finished.

Everything works well if I replace the line
var polygon = new GPolyline([], "#ff0000");
with
var polygon = new GPolygon([], "#ff0000", 2, 0.7, "#ff0000", 0.2);

If I click away the first error message, I get the following:
Error: 'this.f.__pep_.d' is null or not an object
URL: http://maps.gstatic.com/intl/de_ALL/mapfiles/164e/maps2.api/main.js
Line: 141
Char: 173

Please do not hesitate to contact me if you need any further
information.
--~--~---------~--~----~------------~-------~--~----~
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