I do this

OpenLayers.Control.SelectFeature.prototype.myDownfeature = function() 
{
   //your code 
    this.downfeature() 
}

But this only works if you can allow a function rename. 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/overwriting-functions-tp1825571p5345913.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to