[OpenLayers-Trac] [OpenLayers] #3390: returning false from a
beforefeaturemodified
listener is not respected when modifying points
OpenLayers
trac-20090302 at openlayers.org
Tue Jun 28 09:10:10 EDT 2011
#3390: returning false from a beforefeaturemodified listener is not respected when
modifying points
-------------------------------------------------+--------------------------
Reporter: ossipoff | Owner:
Type: feature | Status: new
Priority: major | Milestone: 2.12 Release
Component: general | Version: 2.10
Keywords: beforefeaturemodified modifyfeature | State:
-------------------------------------------------+--------------------------
If you return false from a beforefeaturemodified listener the execution
should stop and the selection of the clicked feature should be cancelled.
This is true for polygons and lines (and probably also other geometry
types), but for points it seems that the return value is not respected.
The clicked feature can still be moved around after returning false from
the beforefeaturemodified listener.
--
Ticket URL: <http://trac.openlayers.org/ticket/3390>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list