<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi All,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>To modify a feature, I currently use the
drawcontrols code here below. When I have rectangle feature, I would like to
have more flexibility when resizing (i.e. proportions not conserved). Do I have
to switch to another type of feature to have more dregree of freedom when
modifying the feature?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>drawControls = <BR>
{ <BR> modify: new
OpenLayers.Control.ModifyFeature(rectangleLayer,<BR>
{'displayClass': 'olControlModifyFeature', onModification:
rectangle_feature_modified, <BR> mode:
//OpenLayers.Control.ModifyFeature.RESHAPE
|<BR>
OpenLayers.Control.ModifyFeature.DRAG
|<BR>
OpenLayers.Control.ModifyFeature.RESIZE}) <BR>
}; <BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Regards,</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2 face=Arial>Stéphane Poirier<BR>Professionel de recherche au
CARTEL<BR>Centre d'Applications et de Recherches en Télédétection<BR>Département
de géomatique appliquée<BR>Université de Sherbrooke<BR>Sherbrooke (Québec),
CANADA J1K 2R1<BR>Tel.: (+1 819) 821 8000 #61904<BR>Fax.: (+1 819) 821
7944<BR><A
href="mailto:Stephane.Poirier@USherbrooke.ca">Stephane.Poirier@USherbrooke.ca</A><BR><A
href="http://www.usherbrooke.ca/cartel">http://www.usherbrooke.ca/cartel</A></FONT></DIV></BODY></HTML>