Hi, you should overrite function over implemented class not directly from OpenLayers.Layer ,
when you overrite a x functions in OpenLayers.Layer class and if your implemented class is Google layer syntax is, OpenLayers.Layer.Google.prototype.x=function(){ // your code } Tamer -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/overwriting-functions-tp1825571p5347124.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users