<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Send code sample...<br><br>Sent from my iPad</div><div><br>On Jun 1, 2013, at 9:10 AM, "maven apache" <<a href="mailto:apachemaven0@gmail.com">apachemaven0@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>IN  fact, I  have  tried  that, but  it  does  not  work.   I  have  created  a  vector  layer, in  the  measure  event, I  get  the  geometry, clone it, add  it  to  the  layer  using the  addfeature  method, but, it  does  not  worked  as  expected. <br>
<br>reply  by my  HTC phone, sorry  for my  spell. <br><br>在 2013年6月1日星期六,Vince Lotito <<a href="mailto:vince@vvl.com">vince@vvl.com</a>> 写道:<br>><br>> In your measure control tap into the measure event, from there grab the geometry and clone it into a vector layer.... You'll also have to create a text label at the centroid with the actual measurement.<br>
><br>> Vince<br>><br>><br>> Sent from my iPad<br>><br>> On Jun 1, 2013, at 5:15 AM, "maven apache" <<a href="mailto:apachemaven0@gmail.com">apachemaven0@gmail.com</a>> wrote:<br>><br>
>> Hi:<br>>><br>>> I am using the Measure Control in OpenLayers.<br>>><br>>> And I want to keep the geometry presisit in the map when one measure completed.<br>>><br>>> I know there is a property named "persisit" to make the geomery visible after the measure completed, but once the cancel is called for the control or the deactivate of the handler is called, the geometry will disappeared. This is not what I want.<br>
>><br>>> So I wonder if my requirement is possible?<br>>> _______________________________________________<br>>> Users mailing list<br>>> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></span><br></div></blockquote></body></html>