[OpenLayers-Dev] updateHandler in Control/Measure

Tim Schaub tschaub at opengeo.org
Thu Sep 25 12:21:49 EDT 2008


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.



More information about the Dev mailing list