Hi there, i want to use the split control on one of my Vector(WMS) Layers. So i set up a control based on the examples: http://www.openlayers.org/dev/examples/split-feature.html http://www.openlayers.org/dev/examples/wfs-snap-split.html my code is below. The control itself seems to work, if I use the active eventListener it will print out a message, but the aftersplit event doesn't seem to be triggered. Is there anyone who does have an idea on how to do this. I tried it with and without deferDelete. thanks in advance.
greetings, Fabian the code: splitControl = new OpenLayers.Control.Split({ layer: layerVar, deferDelete: true, eventListeners: { // activate: function(event) { // window.alert("split activated."); // }, aftersplit: function(event) { window.alert("split has been finished."); } } }); -- View this message in context: http://n2.nabble.com/Split-Control-aftersplit-event-tp3514829p3514829.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users