The problems, your are wrote, are not important.
I found the realy problem:

In my script I have a closed polygon. And the code:
GEvent.addListener(poly, "lineupdated", onUpdate)
only runs, if the event "endline" will fired.

If I delete the lines:
GEvent.addListener(polygon, "endline", function() {
and:
});

my script runs correctly!
http://www.ing-buero-juenger.de/examples/digi_forum3.html

But there is one thing I don't understand:
Why the code:
GEvent.trigger(poly,'endline');
is not doing anything?
Why this line does'nt fired the "endline" event?

>> 6. Notice what difference posting a link makes! :-)
Yes, I'm learnig ;-)
--~--~---------~--~----~------------~-------~--~----~
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