[OpenLayers-Users] OpenLayers.Control.Split not working the same as the example

Max Demars burton449geo at gmail.com
Fri Aug 29 10:01:25 PDT 2014


Hi list,

I am following the split-feature example
<http://dev.openlayers.org/examples/split-feature.html>, but cannot make it
works the same in my application.

[I have create a JsFiddle <http://jsfiddle.net/6tzu580u/1/> to show my
code.][2]

In the fiddle you'll see a vectorLayer with one feature and a split
control. However, the aftersplit event (that would tell how many features
is in the layer after the split) is never called.

What is wrong with my code?

Thank you!

-Max Demars


-- 
Stack Overflow: http://stackoverflow.com/users/1914034/burton449
GIS Overflow: http://gis.stackexchange.com/users/14426/burton449
LastFm: http://www.lastfm.fr/user/burton449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140829/28da1761/attachment.html>


More information about the Users mailing list