Send code sample...

Sent from my iPad

On Jun 1, 2013, at 9:10 AM, "maven apache" 
<[email protected]<mailto:[email protected]>> wrote:

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.

reply  by my  HTC phone, sorry  for my  spell.

在 2013年6月1日星期六,Vince Lotito <[email protected]<mailto:[email protected]>> 写道:
>
> 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.
>
> Vince
>
>
> Sent from my iPad
>
> On Jun 1, 2013, at 5:15 AM, "maven apache" 
> <[email protected]<mailto:[email protected]>> wrote:
>
>> Hi:
>>
>> I am using the Measure Control in OpenLayers.
>>
>> And I want to keep the geometry presisit in the map when one measure 
>> completed.
>>
>> 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.
>>
>> So I wonder if my requirement is possible?
>> _______________________________________________
>> Users mailing list
>> [email protected]<mailto:[email protected]>
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to