<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><title></title><head><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css"> html, body {overflow-x: visible; } html { width:100%; height:100%;margin:0px; padding:0px; overflow-y: auto; overflow-x: auto; }body { font-size: 100.01%; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:transparent; overflow:show; background-image:none; margin:0px; padding:5px; }p { margin:0px; padding:0px; } body { font-size: 12px; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; } p { margin: 0; padding: 0; } blockquote { padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; } blockquote.quote { border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; } .misspelled { background: transparent url(//webmailerng.1und1.de/static_resource/mailclient/widgets/basic/parts/maileditor/spellchecking_underline.gif) repeat-x scroll center bottom; } .correct {} .unknown {} .ignored {}</style></head><body id="bodyElement" style="">
Is there a possibility to reset a feature of a OpenLayers.Control.TransformFeature, like when activating this control the first time (feature is null and naturally no box is drawn)?<br>If I call setFeature(null) on this control (because I would like the control to loose any information about the just transformed feature) an error says "this.feature" (in setFeature method) is null!<br><br>Is there a way how I could force the behaviour of the control on each activation to have the necessity of a feature to be set by a user first?<br>(e.g. some workflow doing a unsetFeature(..) action)<br><br>Thanks<br>João<basefont size="2" face="Verdana"></body></html>