Changeset 3265
- Timestamp:
- 06/06/07 14:46:41 (2 years ago)
- Files:
-
- sandbox/historyControl/lib/OpenLayers/Control.js (modified) (3 diffs)
- sandbox/historyControl/lib/OpenLayers/Control/ArgParser.js (modified) (1 diff)
- sandbox/historyControl/lib/OpenLayers/Map.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/historyControl/lib/OpenLayers/Control.js
r2944 r3265 27 27 * Controls can have a 'type'. The type determines the type of interactions 28 28 * which are possible with them when they are placed into a toolbar. 29 * 29 30 * @type OpenLayers.Control.TYPES 30 31 */ … … 32 33 33 34 /** This property is used for CSS related to the drawing of the Control. 35 * 34 36 * @type string 35 37 */ 36 38 displayClass: "", 37 39 38 /** 39 * @type boolean 40 */ 40 /** @type boolean */ 41 41 active: null, 42 42 43 /** 44 * @type OpenLayers.Handler 45 */ 43 /** @type OpenLayers.Handler */ 46 44 handler: null, 47 45 … … 54 52 // We do this before the extend so that instances can override 55 53 // className in options. 56 this.displayClass = this.CLASS_NAME.replace("OpenLayers.", "ol").replace(".",""); 54 this.displayClass = 55 this.CLASS_NAME.replace("OpenLayers.", "ol").replace(".",""); 57 56 58 57 OpenLayers.Util.extend(this, options); sandbox/historyControl/lib/OpenLayers/Control/ArgParser.js
r1721 r3265 25 25 * @constructor 26 26 * 27 * @param {DOMElement} element 28 * @param {String} base 27 * @param {Object} options 29 28 */ 30 initialize: function( element, base) {29 initialize: function(options) { 31 30 OpenLayers.Control.prototype.initialize.apply(this, arguments); 32 31 }, sandbox/historyControl/lib/OpenLayers/Map.js
r3153 r3265 134 134 numZoomLevels: 16, 135 135 136 /** @type string */ 136 /** A pointer to a CSS file from which to load theme styles 137 * @type string */ 137 138 theme: null, 138 139 … … 316 317 /********************************************************/ 317 318 /* */ 318 /* Layers, Controls, Popup Functions*/319 /* Layer Functions */ 319 320 /* */ 320 321 /* The following functions deal with adding and */ 321 /* removing Layers, Controls, and Popups */ 322 /* to and from the Map */ 322 /* removing Layers to and from the Map */ 323 323 /* */ 324 324 /********************************************************/ … … 558 558 } 559 559 }, 560 561 562 /********************************************************/ 563 /* */ 564 /* Control Functions */ 565 /* */ 566 /* The following functions deal with adding and */ 567 /* removing Controls to and from the Map */ 568 /* */ 569 /********************************************************/ 560 570 561 571 /** … … 589 599 }, 590 600 601 /********************************************************/ 602 /* */ 603 /* Popup Functions */ 604 /* */ 605 /* The following functions deal with adding and */ 606 /* removing Popups to and from the Map */ 607 /* */ 608 /********************************************************/ 609 591 610 /** 592 611 * @param {OpenLayers.Popup} popup
