You can add the feature to the "persistent" layer informed in the constructor. In measureGeometry method, add these lines:
*var* feature = *new* OpenLayers.Feature.Vector(geometry); * this*.layer.addFeatures([feature]); Tell me if it doesn't work, I could provide a working example. Regards- Oscar. 2008/7/1 Simone Gadenz <[EMAIL PROTECTED]>: > HEllo! > > > > I am trying to use the measure tool develped by tschaub. I know there is a > bug reported concerning the persistence of measure objects drawn but I would > ask if some of you guys solved the problem in some way. > > > > Thanks > > > > > > Simone > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
