[OpenLayers-Dev] Re: Strange behaviour in OpenLayers
dr
rykovd at gmail.com
Thu Dec 9 00:42:42 EST 2010
Hi, Gael
Inherit function is depricated. It is old method to inherit from one or more
OpenLayers style classes. Use the OpenLayers.Class constructor instead. For
example:
// Superclass A
A = OpenLayers.Class({
initialize:function() {},
f: function() { alert('A'); }
});
//Class B, inherit from Superclass A
B = OpenLayers.Class(A,{
initialize:function() {},
f: function() { alert('B'); }
});
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Strange-behaviour-in-OpenLayers-tp5817644p5817946.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list