Update Layer classes to use new Class.create/inherit functions.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1649 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
*/
|
||||
OpenLayers.Layer.VirtualEarth = OpenLayers.Class.create();
|
||||
OpenLayers.Layer.VirtualEarth.prototype =
|
||||
OpenLayers.Util.extend( new OpenLayers.Layer.EventPane(),
|
||||
OpenLayers.Util.extend( new OpenLayers.Layer.FixedZoomLevels(), {
|
||||
OpenLayers.Class.inherit( OpenLayers.Layer.EventPane,
|
||||
OpenLayers.Layer.FixedZoomLevels, {
|
||||
|
||||
/** @type VEMap */
|
||||
vemap: null,
|
||||
@@ -362,4 +362,4 @@ OpenLayers.Layer.VirtualEarth.prototype =
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Layer.VirtualEarth"
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user