[OpenLayers-Users] OpenLayers.Control.Split not working the same asthe example
Arnd Wippermann
arnd.wippermann at web.de
Sun Aug 31 08:47:30 PDT 2014
Hi,
it seems, that the Split Control only works for lines?
Your fiddle example works for lines.
Arnd
_____
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Max Demars
Gesendet: Freitag, 29. August 2014 19:01
An: openlayers-users
Betreff: [OpenLayers-Users] OpenLayers.Control.Split not working the same
asthe example
Hi list,
I am following the split-feature
<http://dev.openlayers.org/examples/split-feature.html> example, 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
---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140831/0b70e082/attachment.html>
More information about the Users
mailing list