Changeset 6835
- Timestamp:
- 04/09/08 13:58:44 (5 months ago)
- Files:
-
- branches/openlayers/2.6/apidoc_config/Menu.txt (modified) (8 diffs)
- branches/openlayers/2.6/doc_config/Menu.txt (modified) (8 diffs)
- branches/openlayers/2.6/examples/layer-opacity.html (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/BaseTypes.js (modified) (12 diffs)
- branches/openlayers/2.6/lib/OpenLayers/BaseTypes/Bounds.js (modified) (6 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Control.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Control/DragPan.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Control/ModifyFeature.js (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Control/NavToolbar.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Control/NavigationHistory.js (modified) (3 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Control/PanZoom.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Control/PanZoomBar.js (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Control/Panel.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Events.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Feature.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Filter/Comparison.js (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Filter/FeatureId.js (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Format/GeoRSS.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Format/OSM.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Format/SLD.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Geometry/MultiPoint.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Geometry/Polygon.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Geometry/Surface.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Handler/Click.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer.js (modified) (2 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Layer/GeoRSS.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer/MapServer/Untiled.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer/Markers.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer/MultiMap.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer/Text.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Layer/Vector.js (modified) (3 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Layer/WMS/Untiled.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Map.js (modified) (6 diffs)
- branches/openlayers/2.6/lib/OpenLayers/Rule (deleted)
- branches/openlayers/2.6/lib/OpenLayers/Rule.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/Style.js (modified) (1 diff)
- branches/openlayers/2.6/lib/OpenLayers/StyleMap.js (modified) (5 diffs)
- branches/openlayers/2.6/tests/Extras.html (copied) (copied from trunk/openlayers/tests/Extras.html)
- branches/openlayers/2.6/tests/Format/GeoRSS.html (modified) (3 diffs)
- branches/openlayers/2.6/tests/auto-tests.html (modified) (1 diff)
- branches/openlayers/2.6/tests/list-tests.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.6/apidoc_config/Menu.txt
r6542 r6835 70 70 File: ArgParser (no auto-title, OpenLayers/Control/ArgParser.js) 71 71 File: Attribution (no auto-title, OpenLayers/Control/Attribution.js) 72 File: Control.Button (no auto-title, OpenLayers/Control/Button.js)72 File: Button (no auto-title, OpenLayers/Control/Button.js) 73 73 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 74 74 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) … … 105 105 } # Group: Feature 106 106 107 Group: Filter { 108 109 File: Filter (no auto-title, OpenLayers/Filter.js) 110 File: Comparison (no auto-title, OpenLayers/Filter/Comparison.js) 111 File: FeatureId (no auto-title, OpenLayers/Filter/FeatureId.js) 112 File: Logical (no auto-title, OpenLayers/Filter/Logical.js) 113 } # Group: Filter 114 107 115 Group: Format { 108 116 … … 114 122 File: KML (no auto-title, OpenLayers/Format/KML.js) 115 123 File: OSM (no auto-title, OpenLayers/Format/OSM.js) 116 File: SLD (no auto-title, OpenLayers/Format/SLD.js) 124 125 Group: SLD { 126 127 File: SLD (no auto-title, OpenLayers/Format/SLD.js) 128 File: v1 (no auto-title, OpenLayers/Format/SLD/v1.js) 129 File: v1_0_0 (no auto-title, OpenLayers/Format/SLD/v1_0_0.js) 130 } # Group: SLD 131 117 132 File: Text (no auto-title, OpenLayers/Format/Text.js) 118 133 File: WFS (no auto-title, OpenLayers/Format/WFS.js) 119 134 File: WKT (no auto-title, OpenLayers/Format/WKT.js) 135 File: XML (no auto-title, OpenLayers/Format/XML.js) 120 136 121 137 Group: WMC { … … 127 143 } # Group: WMC 128 144 129 File: XML (no auto-title, OpenLayers/Format/XML.js)130 145 } # Group: Format 131 146 … … 143 158 File: Polygon (no auto-title, OpenLayers/Geometry/Polygon.js) 144 159 File: Rectangle (no auto-title, OpenLayers/Geometry/Rectangle.js) 145 File: Surface (no auto-title, OpenLayers/Geometry/Surface.js)146 160 } # Group: Geometry 147 161 … … 167 181 168 182 File: Lang (no auto-title, OpenLayers/Lang.js) 183 File: Lang["cs-CZ"] (OpenLayers/Lang/cs-CZ.js) 169 184 File: Lang["de"] (no auto-title, OpenLayers/Lang/de.js) 170 185 File: Lang["en"] (no auto-title, OpenLayers/Lang/en.js) … … 218 233 File: Anchored (no auto-title, OpenLayers/Popup/Anchored.js) 219 234 File: AnchoredBubble (no auto-title, OpenLayers/Popup/AnchoredBubble.js) 235 File: Framed (OpenLayers/Popup/Framed.js) 236 File: FramedCloud (OpenLayers/Popup/FramedCloud.js) 220 237 } # Group: Popup 221 238 … … 230 247 } # Group: Renderer 231 248 232 Group: Rule { 233 234 File: Rule (no auto-title, OpenLayers/Rule.js) 235 File: Comparison (no auto-title, OpenLayers/Rule/Comparison.js) 236 File: FeatureId (no auto-title, OpenLayers/Rule/FeatureId.js) 237 File: Logical (no auto-title, OpenLayers/Rule/Logical.js) 238 } # Group: Rule 239 249 File: Rule (no auto-title, OpenLayers/Rule.js) 240 250 File: Style (no auto-title, OpenLayers/Style.js) 241 251 File: StyleMap (no auto-title, OpenLayers/StyleMap.js) branches/openlayers/2.6/doc_config/Menu.txt
r6542 r6835 70 70 File: ArgParser (no auto-title, OpenLayers/Control/ArgParser.js) 71 71 File: Attribution (no auto-title, OpenLayers/Control/Attribution.js) 72 File: Control.Button (no auto-title, OpenLayers/Control/Button.js)72 File: Button (no auto-title, OpenLayers/Control/Button.js) 73 73 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 74 74 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) … … 105 105 } # Group: Feature 106 106 107 Group: Filter { 108 109 File: Filter (no auto-title, OpenLayers/Filter.js) 110 File: Comparison (no auto-title, OpenLayers/Filter/Comparison.js) 111 File: FeatureId (no auto-title, OpenLayers/Filter/FeatureId.js) 112 File: Logical (no auto-title, OpenLayers/Filter/Logical.js) 113 } # Group: Filter 114 107 115 Group: Format { 108 116 … … 114 122 File: KML (no auto-title, OpenLayers/Format/KML.js) 115 123 File: OSM (no auto-title, OpenLayers/Format/OSM.js) 116 File: SLD (no auto-title, OpenLayers/Format/SLD.js) 124 125 Group: SLD { 126 127 File: SLD (no auto-title, OpenLayers/Format/SLD.js) 128 File: v1 (no auto-title, OpenLayers/Format/SLD/v1.js) 129 File: v1_0_0 (no auto-title, OpenLayers/Format/SLD/v1_0_0.js) 130 } # Group: SLD 131 117 132 File: Text (no auto-title, OpenLayers/Format/Text.js) 118 133 File: WFS (no auto-title, OpenLayers/Format/WFS.js) 119 134 File: WKT (no auto-title, OpenLayers/Format/WKT.js) 135 File: XML (no auto-title, OpenLayers/Format/XML.js) 120 136 121 137 Group: WMC { … … 127 143 } # Group: WMC 128 144 129 File: XML (no auto-title, OpenLayers/Format/XML.js)130 145 } # Group: Format 131 146 … … 143 158 File: Polygon (no auto-title, OpenLayers/Geometry/Polygon.js) 144 159 File: Rectangle (no auto-title, OpenLayers/Geometry/Rectangle.js) 145 File: Surface (no auto-title, OpenLayers/Geometry/Surface.js)146 160 } # Group: Geometry 147 161 … … 167 181 168 182 File: Lang (no auto-title, OpenLayers/Lang.js) 183 File: Lang["cs-CZ"] (OpenLayers/Lang/cs-CZ.js) 169 184 File: Lang["de"] (no auto-title, OpenLayers/Lang/de.js) 170 185 File: Lang["en"] (no auto-title, OpenLayers/Lang/en.js) … … 218 233 File: Anchored (no auto-title, OpenLayers/Popup/Anchored.js) 219 234 File: AnchoredBubble (no auto-title, OpenLayers/Popup/AnchoredBubble.js) 235 File: Framed (OpenLayers/Popup/Framed.js) 236 File: FramedCloud (OpenLayers/Popup/FramedCloud.js) 220 237 } # Group: Popup 221 238 … … 230 247 } # Group: Renderer 231 248 232 Group: Rule { 233 234 File: Rule (no auto-title, OpenLayers/Rule.js) 235 File: Comparison (no auto-title, OpenLayers/Rule/Comparison.js) 236 File: FeatureId (no auto-title, OpenLayers/Rule/FeatureId.js) 237 File: Logical (no auto-title, OpenLayers/Rule/Logical.js) 238 } # Group: Rule 239 249 File: Rule (no auto-title, OpenLayers/Rule.js) 240 250 File: Style (no auto-title, OpenLayers/Style.js) 241 251 File: StyleMap (no auto-title, OpenLayers/StyleMap.js) branches/openlayers/2.6/examples/layer-opacity.html
r6497 r6835 50 50 function init(){ 51 51 var options = { 52 projection: "EPSG:26912", 53 units: 'm', 54 maxExtent: new OpenLayers.Bounds(455402, 4967657, 473295, 4984095), 55 maxResolution: 'auto', 56 maxZoomLevel: 8 52 maxExtent: new OpenLayers.Bounds(-110.994, 45.885, -110.950, 45.929), 53 maxResolution: "auto" 57 54 }; 58 55 map = new OpenLayers.Map('map', options); … … 61 58 {layers: "DRG"}); 62 59 shade = new OpenLayers.Layer.WMS("Shaded Relief", 63 "http:// ims.cr.usgs.gov/servlet19/com.esri.wms.Esrimap/USGS_EDC_Elev_NED_3",60 "http://gisdata.usgs.gov/wmsconnector/com.esri.wms.Esrimap?ServiceName=USGS_EDC_Elev_NED_3", 64 61 {layers: "HR-NED.IMAGE", reaspect: "false", transparent: 'true'}, 65 62 {isBaseLayer: false, opacity: 0.3}); 66 63 map.addLayers([drg, shade]); 67 64 map.addControl(new OpenLayers.Control.LayerSwitcher()); 68 map. setCenter(new OpenLayers.LonLat(464348.5,4975876), 1);65 map.zoomToMaxExtent(); 69 66 } 70 67 </script> branches/openlayers/2.6/lib/OpenLayers/BaseTypes.js
r6512 r6835 18 18 */ 19 19 20 /********************* 21 * * 22 * STRING * 23 * * 24 *********************/ 25 20 /** 21 * Namespace: OpenLayers.String 22 * Contains convenience functions for string manipulation. 23 */ 26 24 OpenLayers.String = { 27 25 28 26 /** 29 * APIFunction: OpenLayers.String.startsWith27 * APIFunction: startsWith 30 28 * Test whether a string starts with another string. 31 29 * … … 42 40 43 41 /** 44 * APIFunction: OpenLayers.String.contains42 * APIFunction: contains 45 43 * Test whether a string contains another string. 46 44 * … … 57 55 58 56 /** 59 * APIFunction: OpenLayers.String.trim57 * APIFunction: trim 60 58 * Removes leading and trailing whitespace characters from a string. 61 59 * … … 73 71 74 72 /** 75 * APIFunction: OpenLayers.String.camelize73 * APIFunction: camelize 76 74 * Camel-case a hyphenated string. 77 75 * Ex. "chicken-head" becomes "chickenHead", and … … 95 93 96 94 /** 97 * APIFunction: OpenLayers.String.format95 * APIFunction: format 98 96 * Given a string with tokens in the form ${token}, return a string 99 97 * with tokens replaced with properties from the given context … … 210 208 } 211 209 212 /********************* 213 * * 214 * NUMBER * 215 * * 216 *********************/ 217 210 /** 211 * Namespace: OpenLayers.Number 212 * Contains convenience functions for manipulating numbers. 213 */ 218 214 OpenLayers.Number = { 219 215 220 216 /** 221 * Property: OpenLayers.Number.decimalSeparator217 * Property: decimalSeparator 222 218 * Decimal separator to use when formatting numbers. 223 219 */ … … 225 221 226 222 /** 227 * Property: OpenLayers.Number.thousandsSeparator223 * Property: thousandsSeparator 228 224 * Thousands separator to use when formatting numbers. 229 225 */ … … 231 227 232 228 /** 233 * APIFunction: OpenLayers.Number.limitSigDigs229 * APIFunction: limitSigDigs 234 230 * Limit the number of significant digits on a float. 235 231 * … … 251 247 252 248 /** 253 * APIFunction: OpenLayers.Number.format249 * APIFunction: format 254 250 * Formats a number for output. 255 251 * … … 325 321 } 326 322 327 /********************* 328 * * 329 * FUNCTION * 330 * * 331 *********************/ 332 323 /** 324 * Namespace: OpenLayers.Function 325 * Contains convenience functions for function manipulation. 326 */ 333 327 OpenLayers.Function = { 334 328 /** 335 * APIFunction: OpenLayers.Function.bind329 * APIFunction: bind 336 330 * Bind a function to an object. Method to easily create closures with 337 331 * 'this' altered. … … 358 352 359 353 /** 360 * APIFunction: OpenLayers.Function.bindAsEventListener354 * APIFunction: bindAsEventListener 361 355 * Bind a function to an object, and configure it to receive the event 362 356 * object as first parameter when called. … … 417 411 } 418 412 419 /********************* 420 * * 421 * ARRAY * 422 * * 423 *********************/ 424 413 /** 414 * Namespace: OpenLayers.Array 415 * Contains convenience functions for array manipulation. 416 */ 425 417 OpenLayers.Array = { 426 418 427 419 /** 428 * APIMethod: OpenLayers.Array.filter420 * APIMethod: filter 429 421 * Filter an array. Provides the functionality of the 430 422 * Array.prototype.filter extension to the ECMA-262 standard. Where branches/openlayers/2.6/lib/OpenLayers/BaseTypes/Bounds.js
r6421 r6835 19 19 /** 20 20 * Property: left 21 * {Number} 21 * {Number} Minimum horizontal coordinate. 22 22 */ 23 23 left: null, … … 25 25 /** 26 26 * Property: bottom 27 * {Number} 27 * {Number} Minimum vertical coordinate. 28 28 */ 29 29 bottom: null, … … 31 31 /** 32 32 * Property: right 33 * {Number} 33 * {Number} Maximum horizontal coordinate. 34 34 */ 35 35 right: null, … … 37 37 /** 38 38 * Property: top 39 * {Number} 39 * {Number} Maximum vertical coordinate. 40 40 */ 41 41 top: null, … … 350 350 * Parameters: 351 351 * bounds - {<OpenLayers.Bounds>} 352 * inclusive - { <Boolean>} Whether or not to include the border. Default352 * inclusive - {Boolean} Whether or not to include the border. Default 353 353 * is true. 354 354 * … … 385 385 * 386 386 * bounds - {<OpenLayers.Bounds>} 387 * partial - { <Boolean>} If true, only part of passed-in bounds needs be387 * partial - {Boolean} If true, only part of passed-in bounds needs be 388 388 * within this bounds. If false, the entire passed-in bounds must be 389 389 * within. Default is false 390 * inclusive - { <Boolean>} Whether or not to include the border. Default is390 * inclusive - {Boolean} Whether or not to include the border. Default is 391 391 * true. 392 392 * branches/openlayers/2.6/lib/OpenLayers/Control.js
r6727 r6835 104 104 /** 105 105 * Property: active 106 * { boolean} null106 * {Boolean} The control is active. 107 107 */ 108 108 active: null, branches/openlayers/2.6/lib/OpenLayers/Control/DragPan.js
r6492 r6835 31 31 /** 32 32 * Method: draw 33 * Creates a Drag handler, using < OpenLayers.Control.PanMap.panMap> and34 * < OpenLayers.Control.PanMap.panMapDone> as callbacks.33 * Creates a Drag handler, using <panMap> and 34 * <panMapDone> as callbacks. 35 35 */ 36 36 draw: function() { branches/openlayers/2.6/lib/OpenLayers/Control/ModifyFeature.js
r6819 r6835 73 73 /** 74 74 * Property: selectControl 75 * {<OpenLayers.Control.Select >}75 * {<OpenLayers.Control.SelectFeature>} 76 76 */ 77 77 selectControl: null, … … 100 100 /** 101 101 * APIProperty: virtualStyle 102 * { <OpenLayers.Feature.Vector.Style>}102 * {Object} A symbolizer to be used for virtual vertices. 103 103 */ 104 104 virtualStyle: null, branches/openlayers/2.6/lib/OpenLayers/Control/NavToolbar.js
r5614 r6835 11 11 /** 12 12 * Class: OpenLayers.Control.NavToolbar 13 * 14 * Inherits from: 15 * - <OpenLayers.Control.Panel> 13 16 */ 14 17 OpenLayers.Control.NavToolbar = OpenLayers.Class(OpenLayers.Control.Panel, { branches/openlayers/2.6/lib/OpenLayers/Control/NavigationHistory.js
r6427 r6835 17 17 * 18 18 * Inherits from: 19 * - <OpenLayers.Control .Control>19 * - <OpenLayers.Control> 20 20 */ 21 21 OpenLayers.Control.NavigationHistory = OpenLayers.Class(OpenLayers.Control, { … … 33 33 /** 34 34 * APIProperty: previous 35 * { OpenLayers.Control} A button type control whose trigger method restores35 * {<OpenLayers.Control>} A button type control whose trigger method restores 36 36 * the previous state managed by this control. 37 37 */ … … 47 47 /** 48 48 * APIProperty: next 49 * { OpenLayers.Control} A button type control whose trigger method restores49 * {<OpenLayers.Control>} A button type control whose trigger method restores 50 50 * the next state managed by this control. 51 51 */ branches/openlayers/2.6/lib/OpenLayers/Control/PanZoom.js
r5614 r6835 9 9 10 10 /** 11 * Class: OpenLayers. PanZoom11 * Class: OpenLayers.Control.PanZoom 12 12 * 13 13 * Inherits from: branches/openlayers/2.6/lib/OpenLayers/Control/PanZoomBar.js
r6819 r6835 13 13 * Inherits from: 14 14 * - <OpenLayers.Control.PanZoom> 15 * - <OpenLayers.Control>16 15 */ 17 16 OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, { … … 57 56 58 57 /** 59 * Constructor: <OpenLayers.Control.PanZoomBar>58 * Constructor: OpenLayers.Control.PanZoomBar 60 59 */ 61 60 initialize: function() { branches/openlayers/2.6/lib/OpenLayers/Control/Panel.js
r6443 r6835 16 16 /** 17 17 * Property: controls 18 * Array({<OpenLayers.Control>})18 * {Array(<OpenLayers.Control>)} 19 19 */ 20 20 controls: null, branches/openlayers/2.6/lib/OpenLayers/Events.js
r6435 r6835 533 533 register: function (type, obj, func) { 534 534 535 if (func != null) { 535 if (func != null && 536 ((this.eventTypes && OpenLayers.Util.indexOf(this.eventTypes, type) != -1) || 537 OpenLayers.Util.indexOf(this.BROWSER_EVENTS, type) != -1)) { 536 538 if (obj == null) { 537 539 obj = this.object; branches/openlayers/2.6/lib/OpenLayers/Feature.js
r5614 r6835 162 162 * If no 'lonlat' is set, returns null. 163 163 * If no this.marker has been created, no anchor is sent. 164 * 165 * Note - the returned popup object is 'owned' by the feature, so you 166 * cannot use the popup's destroy method to discard the popup. 167 * Instead, you must use the feature's destroyPopup 164 168 * 165 169 * Note - this.popup is set to return value branches/openlayers/2.6/lib/OpenLayers/Filter/Comparison.js
r6819 r6835 69 69 * 70 70 * Parameters: 71 * params - {Object} Hash of parameters for this rule:72 * -73 * - value:74 71 * options - {Object} An optional object with properties to set on the 75 72 * rule … … 205 202 * 206 203 * Returns: 207 * { boolean}204 * {Boolean} 208 205 */ 209 206 binaryCompare: function(context, property, value) { branches/openlayers/2.6/lib/OpenLayers/Filter/FeatureId.js
r6819 r6835 20 20 /** 21 21 * APIProperty: fids 22 * {Array( <String>)} Feature Ids to evaluate this rule against. To be passed22 * {Array(String)} Feature Ids to evaluate this rule against. To be passed 23 23 * To be passed inside the params object. 24 24 */ … … 51 51 * 52 52 * Returns: 53 * { boolean} true if the rule applies, false if it does not53 * {Boolean} true if the rule applies, false if it does not 54 54 */ 55 55 evaluate: function(feature) { branches/openlayers/2.6/lib/OpenLayers/Format/GeoRSS.js
r6549 r6835 268 268 * 269 269 * Parameters: 270 * features - Array({<OpenLayers.Feature.Vector>})List of features to serialize into a string.270 * features - {Array(<OpenLayers.Feature.Vector>)} List of features to serialize into a string. 271 271 */ 272 272 write: function(features) { branches/openlayers/2.6/lib/OpenLayers/Format/OSM.js
r6748 r6835 284 284 * 285 285 * Parameters: 286 * features - Array({<OpenLayers.Feature.Vector>})286 * features - {Array(<OpenLayers.Feature.Vector>)} 287 287 */ 288 288 write: function(features) { branches/openlayers/2.6/lib/OpenLayers/Format/SLD.js
r6645 r6835 6 6 * @requires OpenLayers/Format/XML.js 7 7 * @requires OpenLayers/Style.js 8 * @requires OpenLayers/ Rule/FeatureId.js9 * @requires OpenLayers/ Rule/Logical.js10 * @requires OpenLayers/ Rule/Comparison.js8 * @requires OpenLayers/Filter/FeatureId.js 9 * @requires OpenLayers/Filter/Logical.js 10 * @requires OpenLayers/Filter/Comparison.js 11 11 */ 12 12 branches/openlayers/2.6/lib/OpenLayers/Geometry/MultiPoint.js
r5614 r6835 32 32 * 33 33 * Parameters: 34 * components - Array({<OpenLayers.Geometry.Point>})34 * components - {Array(<OpenLayers.Geometry.Point>)} 35 35 * 36 36 * Returns: branches/openlayers/2.6/lib/OpenLayers/Geometry/Polygon.js
r5614 r6835 34 34 * 35 35 * Parameters: 36 * components - Array({<OpenLayers.Geometry.LinearRing>})36 * components - {Array(<OpenLayers.Geometry.LinearRing>)} 37 37 */ 38 38 initialize: function(components) { branches/openlayers/2.6/lib/OpenLayers/Geometry/Surface.js
r5614 r6835 7 7 */ 8 8 9 /**10 * Class: OpenLayers.Geometry.Surface11 */12 9 OpenLayers.Geometry.Surface = OpenLayers.Class(OpenLayers.Geometry, { 13 10 14 /**15 * Constructor: OpenLayers.Geometry.Surface16 *17 */18 11 initialize: function() { 19 12 OpenLayers.Geometry.prototype.initialize.apply(this, arguments); branches/openlayers/2.6/lib/OpenLayers/Handler/Click.js
r6414 r6835 80 80 /** 81 81 * Property: timerId 82 * {Number} The id of the timeout waiting to clear the <delayed Event>.82 * {Number} The id of the timeout waiting to clear the <delayedCall>. 83 83 */ 84 84 timerId: null, branches/openlayers/2.6/lib/OpenLayers/Layer.js
r6540 r6835 998 998 /** 999 999 * APIMethod: getViewPortPxFromLonLat 1000 * Returns a pixel location given a map location. This method will return 1001 * fractional pixel values. 1000 1002 * 1001 1003 * Parameters: … … 1012 1014 var extent = this.map.getExtent(); 1013 1015 px = new OpenLayers.Pixel( 1014 Math.round(1/resolution * (lonlat.lon - extent.left)),1015 Math.round(1/resolution * (extent.top - lonlat.lat))1016 (1/resolution * (lonlat.lon - extent.left)), 1017 (1/resolution * (extent.top - lonlat.lat)) 1016 1018 ); 1017 1019 } branches/openlayers/2.6/lib/OpenLayers/Layer/GeoRSS.js
r6573 r6835 27 27 /** 28 28 * Property: features 29 * Array({<OpenLayers.Feature>})29 * {Array(<OpenLayers.Feature>)} 30 30 */ 31 31 features: null, branches/openlayers/2.6/lib/OpenLayers/Layer/MapServer/Untiled.js
r5614 r6835 10 10 /** 11 11 * Class: OpenLayers.Layer.MapServer.Untiled 12 * Deprecated, to be removed in 3.0 - instead use OpenLayers.Layer.MapServer and13 * pass the option 'singleTile' as true.12 * *Deprecated*. To be removed in 3.0. Instead use OpenLayers.Layer.MapServer 13 * and pass the option 'singleTile' as true. 14 14 * 15 15 * Inherits from: branches/openlayers/2.6/lib/OpenLayers/Layer/Markers.js
r5899 r6835 24 24 /** 25 25 * Property: markers 26 * Array({<OpenLayers.Marker>})internal marker list26 * {Array(<OpenLayers.Marker>)} internal marker list 27 27 */ 28 28 markers: null, branches/openlayers/2.6/lib/OpenLayers/Layer/MultiMap.js
r6313 r6835 14 14 * 15 15 * Inherits from: 16 * - <OpenLayers.Layer s.EventPane>17 * - <OpenLayers.Layer s.FixedZoomLevels>16 * - <OpenLayers.Layer.EventPane> 17 * - <OpenLayers.Layer.FixedZoomLevels> 18 18 */ 19 19 OpenLayers.Layer.MultiMap = OpenLayers.Class( branches/openlayers/2.6/lib/OpenLayers/Layer/Text.js
r6441 r6835 51 51 /** 52 52 * Property: features 53 * Array({<OpenLayers.Feature>})53 * {Array(<OpenLayers.Feature>)} 54 54 */ 55 55 features: null, branches/openlayers/2.6/lib/OpenLayers/Layer/Vector.js
r6413 r6835 88 88 /** 89 89 * APIProperty: features 90 * Array({<OpenLayers.Feature.Vector>})90 * {Array(<OpenLayers.Feature.Vector>)} 91 91 */ 92 92 features: null, … … 94 94 /** 95 95 * Property: selectedFeatures 96 * Array({<OpenLayers.Feature.Vector>})96 * {Array(<OpenLayers.Feature.Vector>)} 97 97 */ 98 98 selectedFeatures: null, … … 119 119 /** 120 120 * Property: renderers 121 * Array({String})List of supported Renderer classes. Add to this list to121 * {Array(String)} List of supported Renderer classes. Add to this list to 122 122 * add support for additional renderers. This list is ordered: 123 123 * the first renderer which returns true for the 'supported()' branches/openlayers/2.6/lib/OpenLayers/Layer/WMS/Untiled.js
r5614 r6835 10 10 /** 11 11 * Class: OpenLayers.Layer.WMS.Untiled 12 * Deprecated, to be removed in 3.0 - instead use OpenLayers.Layer.WMS and12 * *Deprecated*. To be removed in 3.0. Instead use OpenLayers.Layer.WMS and 13 13 * pass the option 'singleTile' as true. 14 14 * branches/openlayers/2.6/lib/OpenLayers/Map.js
r6718 r6835 821 821 * 822 822 * Parameters: 823 * layers - Array({<OpenLayers.Layer>})823 * layers - {Array(<OpenLayers.Layer>)} 824 824 */ 825 825 addLayers: function (layers) { … … 1594 1594 1595 1595 if ((originPx != null) && (newPx != null)) { 1596 this.layerContainerDiv.style.left = (originPx.x - newPx.x) + "px";1597 this.layerContainerDiv.style.top = (originPx.y - newPx.y) + "px";1596 this.layerContainerDiv.style.left = Math.round(originPx.x - newPx.x) + "px"; 1597 this.layerContainerDiv.style.top = Math.round(originPx.y - newPx.y) + "px"; 1598 1598 } 1599 1599 }, … … 1964 1964 1965 1965 /** 1966 * APIMethod: getLonLatFromViewPortPx1966 * Method: getLonLatFromViewPortPx 1967 1967 * 1968 1968 * Parameters: … … 2023 2023 /** 2024 2024 * APIMethod: getPixelFromLonLat 2025 * 2026 * Parameters: 2027 * lonlat - {<OpenLayers.LonLat>} 2025 * Returns a pixel location given a map location. The map location is 2026 * translated to an integer pixel location (in viewport pixel 2027 * coordinates) by the current base layer. 2028 * 2029 * Parameters: 2030 * lonlat - {<OpenLayers.LonLat>} A map location. 2028 2031 * 2029 2032 * Returns: 2030 2033 * {<OpenLayers.Pixel>} An OpenLayers.Pixel corresponding to the 2031 * <OpenLayers.LonLat> translated into view port2032 * &nbs
