I am not qualified to answer your question (I am new to openlayers), but I
think you have a conflict in drawfeature control

  You have a drawfeature Icon (displayClass: "olControlDrawFeaturePoint"),
which will activate drawfeature when it is pressed, and at the same time,
you have a toggle function newcrop(), which specify which control is
activated. 

  For using icons, you can check this example:
http://openlayers.org/dev/examples/wfs-snap-split.html 

  For using toggle function, you can check this example:
http://openlayers.org/dev/examples/modify-feature.html 


  Matt. 

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/drawfeature-question-tp4474203p4500304.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to