[OpenLayers-Dev] updateHandler in Control/Measure

Eric Lemoine eric.c2c at gmail.com
Tue Sep 23 04:10:46 EDT 2008


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 ;-)

>
> 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



More information about the Dev mailing list