[OpenLayers-Users] Modifiable Feature - a minimum area

Chris Jones cijones at lycos.com
Fri Apr 17 02:52:59 EDT 2009


Hi, 

I have a feature drawn on a vector layer, is there a way to enforce a minimum\maximum size on it while it is being modified by a ModifyFeature control? 

I'd hoped that I'd be able to get an event to tell me everytime the feature had been changed (ie when it is redrawn) which I could then use to evaluate the new area and check it is above\below the min\max. Is there an event to allow this, or I am looking at it the wrong way, and there is there a better\alternative control\handler combination that can be used to achieve the correct behaviour? 

Thanks for any help. 

Chris

(I originally posted this to the dev group, so sorry if it's your second time of reading).
-- 
View this message in context: http://n2.nabble.com/Modifiable-Feature---a-minimum-area-tp2644720p2644720.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list