[OpenLayers-Dev] clearing handlers
crschmidt at metacarta.com
Thu Nov 6 18:18:14 EST 2008
On Thu, Nov 06, 2008 at 09:10:20AM +0100, bartvde at osgis.nl wrote:
> Hi list,
> why is the interface for clearing handlers not standardized? Maybe there
> is a good reason for it that I am missing.
Why do you need to clear handlers? I'm not seeing the use case, I don't
> For Handler/RegularPolygon.js the function is called clear. It will clear
> the renderer of the layer and call destroyFeatures() on the layer.
> For Handler/Path.js, Handler/Point.js and Handler/Polygon.js you have to
> call destroyFeature directly.
> Would it not be better to have a API method called clear on all these
> Best regards,
> Dev mailing list
> Dev at openlayers.org
More information about the Dev