[OpenLayers-Users] Re: Drawfeature question

sqgs mxxerr at yahoo.com
Thu Feb 23 17:33:06 EST 2012


  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.


More information about the Users mailing list