[OpenLayers-Dev] updateHandler in Control/Measure

Eric Lemoine eric.c2c at gmail.com
Fri Sep 26 00:30:22 EDT 2008


Oh I see. In that case once we've settled on it we can consider making
it an API method. Eric

2008/9/25, Tim Schaub <tschaub at opengeo.org>:
> Hey-
>
> Eric Lemoine wrote:
>> On Tue, Sep 23, 2008 at 10:02 AM, Pierre GIRAUD <bluecarto at gmail.com>
>> wrote:
>>> Hi all,
>>>
>>> Looking at the code in Control/Measure.js I saw a method called
>>> updateHandler but I can't figure out where it is called.
>>
>> Indeed, it doesn't seem to be used. That would make a good ticket I think
>> ;-)
>
> Please don't remove.  I use it.  A similar method would be nice on the
> draw feature control as well.  I'll update the example to demonstrate
> its use once we're beyond 2.7.
>
>>
>>> I was interessed by the stuff that destroys the existing feature when
>>> a new one is being drawn.
>>
>> I think {handlerOptions: {persist: true}} would do the trick.
>>
>> --
>> Eric
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>
>
> --
> Tim Schaub
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list