[OpenLayers-Users] overwriting functions

Piero Campa piero.campa at gmail.com
Thu Jul 29 03:47:07 EDT 2010


Well I'm doing like Paul suggested, without renaming the function:

OpenLayers.Layer.prototype.getLonLatFromViewPortPx = function (viewPortPx) {
alert('Overwritten!');
}; 

No way.

But if it is the correct way, I'll manage somehow.
Thank you guys!
Piero 

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/overwriting-functions-tp1825571p5346981.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list