Changeset 1207
- Timestamp:
- 08/14/06 21:48:55 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/Google.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Layer/VirtualEarth.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/Google.js
r1206 r1207 2 2 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full 3 3 * text of the license. */ 4 // @require: OpenLayers/Layer/EventPane.js 4 5 5 6 if (typeof GMap2 != "undefined") { trunk/openlayers/lib/OpenLayers/Layer/VirtualEarth.js
r1206 r1207 2 2 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full 3 3 * text of the license. */ 4 // @require: OpenLayers/Layer/EventPane.js 4 5 5 6 /** 6 7 * @class 7 *8 * @requires OpenLayers/Layer.js9 8 */ 10 9 OpenLayers.Layer.VirtualEarth = Class.create(); 11 10 OpenLayers.Layer.VirtualEarth.prototype = 12 Object.extend( new OpenLayers.Layer(), { 13 14 /** Virtual Earth layer is always a base layer. 15 * 16 * @type Boolean 17 */ 18 isBaseLayer: true, 19 20 /** @type Boolean */ 21 isFixed: true, 22 11 Object.extend( new OpenLayers.Layer.EventPane(), { 23 12 /** @type VEMap */ 24 13 vemap: null, … … 30 19 */ 31 20 initialize:function(name) { 32 OpenLayers.Layer. prototype.initialize.apply(this, arguments);21 OpenLayers.Layer.EventPane.prototype.initialize.apply(this, arguments); 33 22 }, 34 23 … … 37 26 */ 38 27 setMap:function(map) { 39 OpenLayers.Layer. prototype.setMap.apply(this, arguments);28 OpenLayers.Layer.EventPane.prototype.setMap.apply(this, arguments); 40 29 41 30 // once our layer has been added to the map, we can load the vemap … … 97 86 98 87 // catch pans and zooms from VE Map 99 this.vemap.AttachEvent("onendcontinuouspan",100 this.catchPanZoom.bindAsEventListener(this));101 this.vemap.AttachEvent("onendzoom",102 this.catchPanZoom.bindAsEventListener(this));88 //this.vemap.AttachEvent("onendcontinuouspan", 89 // this.catchPanZoom.bindAsEventListener(this)); 90 //this.vemap.AttachEvent("onendzoom", 91 // this.catchPanZoom.bindAsEventListener(this)); 103 92 } 104 93
