Changeset 4013
- Timestamp:
- 08/24/07 08:26:51 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/map24/lib/OpenLayers/Layer/Map24.js
r4012 r4013 66 66 67 67 /** 68 * APIProperty: maxExtent69 * {<OpenLayers.Bounds>} The center of these bounds will not stray outside70 * of the viewport extent during panning. In addition, if71 * <displayOutsideMaxExtent> is set to false, data will not be72 * requested that falls completely outside of these bounds.73 */74 maxExtent: new OpenLayers.Bounds(-180,-90,180,+90),75 76 /**77 68 * Current center 78 69 * (Map24.Coordinate) … … 110 101 */ 111 102 initialize: function(name, options) { 103 112 104 if (options["numZoomLevels"] == null) { 113 105 // default to all zoom levels instead of 16 114 106 options["numZoomLevels"] = this.MAX_ZOOM_LEVEL + 1; 115 107 } 108 109 // The center of these bounds will not stray outside 110 // of the viewport extent during panning. In addition, if 111 // <displayOutsideMaxExtent> is set to false, data will not be 112 // requested that falls completely outside of these bounds. 113 this.maxExtent = new OpenLayers.Bounds(-180, -90, 180, 90); 114 116 115 OpenLayers.Layer.EventPane.prototype.initialize.apply(this, arguments); 117 116 OpenLayers.Layer.FixedZoomLevels.prototype.initialize.apply(this,
