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.
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to