[OpenLayers-Users] overwriting functions

tamerg tamer.gur at vodafone.com
Thu Jul 29 06:39:26 EDT 2010


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.



More information about the Users mailing list