OpenLayers OpenLayers

Changeset 6835

Show
Ignore:
Timestamp:
04/09/08 13:58:44 (5 months ago)
Author:
crschmidt
Message:

Finish pullups for RC2.

#1498 Easily turning off/overriding default select and temporary intent

styles

#1501 GeoRSS format tests fail in Safari
#1502 Events register method fails if listeners member is not an array
#1503 panning off for odd-sized viewport
#1504 doc review

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.6/apidoc_config/Menu.txt

    r6542 r6835  
    7070      File: ArgParser  (no auto-title, OpenLayers/Control/ArgParser.js) 
    7171      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) 
    7373      File: DragFeature  (no auto-title, OpenLayers/Control/DragFeature.js) 
    7474      File: DragPan  (no auto-title, OpenLayers/Control/DragPan.js) 
     
    105105      }  # Group: Feature 
    106106 
     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 
    107115   Group: Format  { 
    108116 
     
    114122      File: KML  (no auto-title, OpenLayers/Format/KML.js) 
    115123      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 
    117132      File: Text  (no auto-title, OpenLayers/Format/Text.js) 
    118133      File: WFS  (no auto-title, OpenLayers/Format/WFS.js) 
    119134      File: WKT  (no auto-title, OpenLayers/Format/WKT.js) 
     135      File: XML  (no auto-title, OpenLayers/Format/XML.js) 
    120136 
    121137      Group: WMC  { 
     
    127143         }  # Group: WMC 
    128144 
    129       File: XML  (no auto-title, OpenLayers/Format/XML.js) 
    130145      }  # Group: Format 
    131146 
     
    143158      File: Polygon  (no auto-title, OpenLayers/Geometry/Polygon.js) 
    144159      File: Rectangle  (no auto-title, OpenLayers/Geometry/Rectangle.js) 
    145       File: Surface  (no auto-title, OpenLayers/Geometry/Surface.js) 
    146160      }  # Group: Geometry 
    147161 
     
    167181 
    168182      File: Lang  (no auto-title, OpenLayers/Lang.js) 
     183      File: Lang["cs-CZ"]  (OpenLayers/Lang/cs-CZ.js) 
    169184      File: Lang["de"]  (no auto-title, OpenLayers/Lang/de.js) 
    170185      File: Lang["en"]  (no auto-title, OpenLayers/Lang/en.js) 
     
    218233      File: Anchored  (no auto-title, OpenLayers/Popup/Anchored.js) 
    219234      File: AnchoredBubble  (no auto-title, OpenLayers/Popup/AnchoredBubble.js) 
     235      File: Framed  (OpenLayers/Popup/Framed.js) 
     236      File: FramedCloud  (OpenLayers/Popup/FramedCloud.js) 
    220237      }  # Group: Popup 
    221238 
     
    230247      }  # Group: Renderer 
    231248 
    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) 
    240250   File: Style  (no auto-title, OpenLayers/Style.js) 
    241251   File: StyleMap  (no auto-title, OpenLayers/StyleMap.js) 
  • branches/openlayers/2.6/doc_config/Menu.txt

    r6542 r6835  
    7070      File: ArgParser  (no auto-title, OpenLayers/Control/ArgParser.js) 
    7171      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) 
    7373      File: DragFeature  (no auto-title, OpenLayers/Control/DragFeature.js) 
    7474      File: DragPan  (no auto-title, OpenLayers/Control/DragPan.js) 
     
    105105      }  # Group: Feature 
    106106 
     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 
    107115   Group: Format  { 
    108116 
     
    114122      File: KML  (no auto-title, OpenLayers/Format/KML.js) 
    115123      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 
    117132      File: Text  (no auto-title, OpenLayers/Format/Text.js) 
    118133      File: WFS  (no auto-title, OpenLayers/Format/WFS.js) 
    119134      File: WKT  (no auto-title, OpenLayers/Format/WKT.js) 
     135      File: XML  (no auto-title, OpenLayers/Format/XML.js) 
    120136 
    121137      Group: WMC  { 
     
    127143         }  # Group: WMC 
    128144 
    129       File: XML  (no auto-title, OpenLayers/Format/XML.js) 
    130145      }  # Group: Format 
    131146 
     
    143158      File: Polygon  (no auto-title, OpenLayers/Geometry/Polygon.js) 
    144159      File: Rectangle  (no auto-title, OpenLayers/Geometry/Rectangle.js) 
    145       File: Surface  (no auto-title, OpenLayers/Geometry/Surface.js) 
    146160      }  # Group: Geometry 
    147161 
     
    167181 
    168182      File: Lang  (no auto-title, OpenLayers/Lang.js) 
     183      File: Lang["cs-CZ"]  (OpenLayers/Lang/cs-CZ.js) 
    169184      File: Lang["de"]  (no auto-title, OpenLayers/Lang/de.js) 
    170185      File: Lang["en"]  (no auto-title, OpenLayers/Lang/en.js) 
     
    218233      File: Anchored  (no auto-title, OpenLayers/Popup/Anchored.js) 
    219234      File: AnchoredBubble  (no auto-title, OpenLayers/Popup/AnchoredBubble.js) 
     235      File: Framed  (OpenLayers/Popup/Framed.js) 
     236      File: FramedCloud  (OpenLayers/Popup/FramedCloud.js) 
    220237      }  # Group: Popup 
    221238 
     
    230247      }  # Group: Renderer 
    231248 
    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) 
    240250   File: Style  (no auto-title, OpenLayers/Style.js) 
    241251   File: StyleMap  (no auto-title, OpenLayers/StyleMap.js) 
  • branches/openlayers/2.6/examples/layer-opacity.html

    r6497 r6835  
    5050        function init(){ 
    5151            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" 
    5754            }; 
    5855            map = new OpenLayers.Map('map', options); 
     
    6158                {layers: "DRG"}); 
    6259            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", 
    6461                {layers: "HR-NED.IMAGE", reaspect: "false", transparent: 'true'}, 
    6562                {isBaseLayer: false, opacity: 0.3}); 
    6663            map.addLayers([drg, shade]); 
    6764            map.addControl(new OpenLayers.Control.LayerSwitcher()); 
    68             map.setCenter(new OpenLayers.LonLat(464348.5,4975876), 1); 
     65            map.zoomToMaxExtent(); 
    6966        } 
    7067    </script> 
  • branches/openlayers/2.6/lib/OpenLayers/BaseTypes.js

    r6512 r6835  
    1818 */ 
    1919 
    20 /********************* 
    21  *                   * 
    22  *      STRING       *  
    23  *                   *  
    24  *********************/ 
    25  
     20/** 
     21 * Namespace: OpenLayers.String 
     22 * Contains convenience functions for string manipulation. 
     23 */ 
    2624OpenLayers.String = { 
    2725 
    2826    /** 
    29      * APIFunction: OpenLayers.String.startsWith 
     27     * APIFunction: startsWith 
    3028     * Test whether a string starts with another string.  
    3129     *  
     
    4240 
    4341    /** 
    44      * APIFunction: OpenLayers.String.contains 
     42     * APIFunction: contains 
    4543     * Test whether a string contains another string. 
    4644     *  
     
    5755     
    5856    /** 
    59      * APIFunction: OpenLayers.String.trim 
     57     * APIFunction: trim 
    6058     * Removes leading and trailing whitespace characters from a string. 
    6159     *  
     
    7371     
    7472    /** 
    75      * APIFunction: OpenLayers.String.camelize 
     73     * APIFunction: camelize 
    7674     * Camel-case a hyphenated string.  
    7775     *     Ex. "chicken-head" becomes "chickenHead", and 
     
    9593     
    9694    /** 
    97      * APIFunction: OpenLayers.String.format 
     95     * APIFunction: format 
    9896     * Given a string with tokens in the form ${token}, return a string 
    9997     *     with tokens replaced with properties from the given context 
     
    210208} 
    211209 
    212 /********************* 
    213  *                   * 
    214  *      NUMBER       *  
    215  *                   *  
    216  *********************/ 
    217  
     210/** 
     211 * Namespace: OpenLayers.Number 
     212 * Contains convenience functions for manipulating numbers. 
     213 */ 
    218214OpenLayers.Number = { 
    219215 
    220216    /** 
    221      * Property: OpenLayers.Number.decimalSeparator 
     217     * Property: decimalSeparator 
    222218     * Decimal separator to use when formatting numbers. 
    223219     */ 
     
    225221     
    226222    /** 
    227      * Property: OpenLayers.Number.thousandsSeparator 
     223     * Property: thousandsSeparator 
    228224     * Thousands separator to use when formatting numbers. 
    229225     */ 
     
    231227     
    232228    /** 
    233      * APIFunction: OpenLayers.Number.limitSigDigs 
     229     * APIFunction: limitSigDigs 
    234230     * Limit the number of significant digits on a float. 
    235231     *  
     
    251247     
    252248    /** 
    253      * APIFunction: OpenLayers.Number.format 
     249     * APIFunction: format 
    254250     * Formats a number for output. 
    255251     *  
     
    325321} 
    326322 
    327 /********************* 
    328  *                   * 
    329  *      FUNCTION     *  
    330  *                   *  
    331  *********************/ 
    332  
     323/** 
     324 * Namespace: OpenLayers.Function 
     325 * Contains convenience functions for function manipulation. 
     326 */ 
    333327OpenLayers.Function = { 
    334328    /** 
    335      * APIFunction: OpenLayers.Function.bind 
     329     * APIFunction: bind 
    336330     * Bind a function to an object.  Method to easily create closures with 
    337331     *     'this' altered. 
     
    358352     
    359353    /** 
    360      * APIFunction: OpenLayers.Function.bindAsEventListener 
     354     * APIFunction: bindAsEventListener 
    361355     * Bind a function to an object, and configure it to receive the event 
    362356     *     object as first parameter when called.  
     
    417411} 
    418412 
    419 /********************* 
    420  *                   * 
    421  *      ARRAY        *  
    422  *                   *  
    423  *********************/ 
    424  
     413/** 
     414 * Namespace: OpenLayers.Array 
     415 * Contains convenience functions for array manipulation. 
     416 */ 
    425417OpenLayers.Array = { 
    426418 
    427419    /** 
    428      * APIMethod: OpenLayers.Array.filter 
     420     * APIMethod: filter 
    429421     * Filter an array.  Provides the functionality of the 
    430422     *     Array.prototype.filter extension to the ECMA-262 standard.  Where 
  • branches/openlayers/2.6/lib/OpenLayers/BaseTypes/Bounds.js

    r6421 r6835  
    1919    /** 
    2020     * Property: left 
    21      * {Number} 
     21     * {Number} Minimum horizontal coordinate. 
    2222     */ 
    2323    left: null, 
     
    2525    /** 
    2626     * Property: bottom 
    27      * {Number} 
     27     * {Number} Minimum vertical coordinate. 
    2828     */ 
    2929    bottom: null, 
     
    3131    /** 
    3232     * Property: right 
    33      * {Number} 
     33     * {Number} Maximum horizontal coordinate. 
    3434     */ 
    3535    right: null, 
     
    3737    /** 
    3838     * Property: top 
    39      * {Number} 
     39     * {Number} Maximum vertical coordinate. 
    4040     */ 
    4141    top: null,     
     
    350350     * Parameters: 
    351351     * bounds - {<OpenLayers.Bounds>} 
    352      * inclusive - {<Boolean>} Whether or not to include the border.  Default 
     352     * inclusive - {Boolean} Whether or not to include the border.  Default 
    353353     *     is true. 
    354354     * 
     
    385385     *  
    386386     * bounds - {<OpenLayers.Bounds>} 
    387      * partial - {<Boolean>} If true, only part of passed-in bounds needs be 
     387     * partial - {Boolean} If true, only part of passed-in bounds needs be 
    388388     *     within this bounds.  If false, the entire passed-in bounds must be 
    389389     *     within. Default is false 
    390      * inclusive - {<Boolean>} Whether or not to include the border. Default is 
     390     * inclusive - {Boolean} Whether or not to include the border. Default is 
    391391     *     true. 
    392392     * 
  • branches/openlayers/2.6/lib/OpenLayers/Control.js

    r6727 r6835  
    104104    /**  
    105105     * Property: active  
    106      * {boolean} null 
     106     * {Boolean} The control is active. 
    107107     */ 
    108108    active: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Control/DragPan.js

    r6492 r6835  
    3131    /** 
    3232     * Method: draw 
    33      * Creates a Drag handler, using <OpenLayers.Control.PanMap.panMap> and 
    34      * <OpenLayers.Control.PanMap.panMapDone> as callbacks. 
     33     * Creates a Drag handler, using <panMap> and 
     34     * <panMapDone> as callbacks. 
    3535     */     
    3636    draw: function() { 
  • branches/openlayers/2.6/lib/OpenLayers/Control/ModifyFeature.js

    r6819 r6835  
    7373    /** 
    7474     * Property: selectControl 
    75      * {<OpenLayers.Control.Select>} 
     75     * {<OpenLayers.Control.SelectFeature>} 
    7676     */ 
    7777    selectControl: null, 
     
    100100    /** 
    101101     * APIProperty: virtualStyle 
    102      * {<OpenLayers.Feature.Vector.Style>} 
     102     * {Object} A symbolizer to be used for virtual vertices. 
    103103     */ 
    104104    virtualStyle: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Control/NavToolbar.js

    r5614 r6835  
    1111/** 
    1212 * Class: OpenLayers.Control.NavToolbar 
     13 *  
     14 * Inherits from: 
     15 *  - <OpenLayers.Control.Panel> 
    1316 */ 
    1417OpenLayers.Control.NavToolbar = OpenLayers.Class(OpenLayers.Control.Panel, { 
  • branches/openlayers/2.6/lib/OpenLayers/Control/NavigationHistory.js

    r6427 r6835  
    1717 * 
    1818 * Inherits from: 
    19  *  - <OpenLayers.Control.Control
     19 *  - <OpenLayers.Control
    2020 */ 
    2121OpenLayers.Control.NavigationHistory = OpenLayers.Class(OpenLayers.Control, { 
     
    3333    /** 
    3434     * APIProperty: previous 
    35      * {OpenLayers.Control} A button type control whose trigger method restores 
     35     * {<OpenLayers.Control>} A button type control whose trigger method restores 
    3636     *     the previous state managed by this control. 
    3737     */ 
     
    4747    /** 
    4848     * APIProperty: next 
    49      * {OpenLayers.Control} A button type control whose trigger method restores 
     49     * {<OpenLayers.Control>} A button type control whose trigger method restores 
    5050     *     the next state managed by this control. 
    5151     */ 
  • branches/openlayers/2.6/lib/OpenLayers/Control/PanZoom.js

    r5614 r6835  
    99 
    1010/** 
    11  * Class: OpenLayers.PanZoom 
     11 * Class: OpenLayers.Control.PanZoom 
    1212 *  
    1313 * Inherits from: 
  • branches/openlayers/2.6/lib/OpenLayers/Control/PanZoomBar.js

    r6819 r6835  
    1313 * Inherits from: 
    1414 *  - <OpenLayers.Control.PanZoom> 
    15  *  - <OpenLayers.Control> 
    1615 */ 
    1716OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, { 
     
    5756 
    5857    /** 
    59      * Constructor: <OpenLayers.Control.PanZoomBar> 
     58     * Constructor: OpenLayers.Control.PanZoomBar 
    6059     */  
    6160    initialize: function() { 
  • branches/openlayers/2.6/lib/OpenLayers/Control/Panel.js

    r6443 r6835  
    1616    /** 
    1717     * Property: controls 
    18      * Array({<OpenLayers.Control>}) 
     18     * {Array(<OpenLayers.Control>)} 
    1919     */ 
    2020    controls: null,     
  • branches/openlayers/2.6/lib/OpenLayers/Events.js

    r6435 r6835  
    533533    register: function (type, obj, func) { 
    534534 
    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)) { 
    536538            if (obj == null)  { 
    537539                obj = this.object; 
  • branches/openlayers/2.6/lib/OpenLayers/Feature.js

    r5614 r6835  
    162162     *  If no 'lonlat' is set, returns null.  
    163163     *  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 
    164168     *  
    165169     *  Note - this.popup is set to return value 
  • branches/openlayers/2.6/lib/OpenLayers/Filter/Comparison.js

    r6819 r6835  
    6969     * 
    7070     * Parameters: 
    71      * params  - {Object} Hash of parameters for this rule: 
    72      *              -  
    73      *              - value:  
    7471     * options - {Object} An optional object with properties to set on the 
    7572     *           rule 
     
    205202     *  
    206203     * Returns: 
    207      * {boolean} 
     204     * {Boolean} 
    208205     */ 
    209206    binaryCompare: function(context, property, value) { 
  • branches/openlayers/2.6/lib/OpenLayers/Filter/FeatureId.js

    r6819 r6835  
    2020    /**  
    2121     * APIProperty: fids 
    22      * {Array(<String>)} Feature Ids to evaluate this rule against. To be passed 
     22     * {Array(String)} Feature Ids to evaluate this rule against. To be passed 
    2323     * To be passed inside the params object. 
    2424     */ 
     
    5151     *  
    5252     * Returns: 
    53      * {boolean} true if the rule applies, false if it does not 
     53     * {Boolean} true if the rule applies, false if it does not 
    5454     */ 
    5555    evaluate: function(feature) { 
  • branches/openlayers/2.6/lib/OpenLayers/Format/GeoRSS.js

    r6549 r6835  
    268268     *  
    269269     * 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. 
    271271     */ 
    272272    write: function(features) { 
  • branches/openlayers/2.6/lib/OpenLayers/Format/OSM.js

    r6748 r6835  
    284284     * 
    285285     * Parameters: 
    286      * features - Array({<OpenLayers.Feature.Vector>}) 
     286     * features - {Array(<OpenLayers.Feature.Vector>)} 
    287287     */ 
    288288    write: function(features) {  
  • branches/openlayers/2.6/lib/OpenLayers/Format/SLD.js

    r6645 r6835  
    66 * @requires OpenLayers/Format/XML.js 
    77 * @requires OpenLayers/Style.js 
    8  * @requires OpenLayers/Rule/FeatureId.js 
    9  * @requires OpenLayers/Rule/Logical.js 
    10  * @requires OpenLayers/Rule/Comparison.js 
     8 * @requires OpenLayers/Filter/FeatureId.js 
     9 * @requires OpenLayers/Filter/Logical.js 
     10 * @requires OpenLayers/Filter/Comparison.js 
    1111 */ 
    1212 
  • branches/openlayers/2.6/lib/OpenLayers/Geometry/MultiPoint.js

    r5614 r6835  
    3232     * 
    3333     * Parameters: 
    34      * components - Array({<OpenLayers.Geometry.Point>})  
     34     * components - {Array(<OpenLayers.Geometry.Point>)}  
    3535     * 
    3636     * Returns: 
  • branches/openlayers/2.6/lib/OpenLayers/Geometry/Polygon.js

    r5614 r6835  
    3434     * 
    3535     * Parameters: 
    36      * components - Array({<OpenLayers.Geometry.LinearRing>})  
     36     * components - {Array(<OpenLayers.Geometry.LinearRing>)}  
    3737     */ 
    3838    initialize: function(components) { 
  • branches/openlayers/2.6/lib/OpenLayers/Geometry/Surface.js

    r5614 r6835  
    77 */ 
    88 
    9 /** 
    10  * Class: OpenLayers.Geometry.Surface 
    11  */ 
    129OpenLayers.Geometry.Surface = OpenLayers.Class(OpenLayers.Geometry, { 
    1310 
    14     /** 
    15      * Constructor: OpenLayers.Geometry.Surface 
    16      * 
    17      */ 
    1811    initialize: function() { 
    1912        OpenLayers.Geometry.prototype.initialize.apply(this, arguments); 
  • branches/openlayers/2.6/lib/OpenLayers/Handler/Click.js

    r6414 r6835  
    8080    /** 
    8181     * Property: timerId 
    82      * {Number} The id of the timeout waiting to clear the <delayedEvent>. 
     82     * {Number} The id of the timeout waiting to clear the <delayedCall>. 
    8383     */ 
    8484    timerId: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Layer.js

    r6540 r6835  
    998998    /** 
    999999     * APIMethod: getViewPortPxFromLonLat 
     1000     * Returns a pixel location given a map location.  This method will return 
     1001     *     fractional pixel values. 
    10001002     *  
    10011003     * Parameters: 
     
    10121014            var extent = this.map.getExtent(); 
    10131015            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)) 
    10161018            );     
    10171019        } 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/GeoRSS.js

    r6573 r6835  
    2727    /**  
    2828     * Property: features  
    29      * Array({<OpenLayers.Feature>})  
     29     * {Array(<OpenLayers.Feature>)}  
    3030     */ 
    3131    features: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/MapServer/Untiled.js

    r5614 r6835  
    1010/** 
    1111 * Class: OpenLayers.Layer.MapServer.Untiled 
    12  * Deprecated, to be removed in 3.0 - instead use OpenLayers.Layer.MapServer and  
    13  *     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. 
    1414 *  
    1515 * Inherits from:  
  • branches/openlayers/2.6/lib/OpenLayers/Layer/Markers.js

    r5899 r6835  
    2424    /**  
    2525     * Property: markers  
    26      * Array({<OpenLayers.Marker>}) internal marker list  
     26     * {Array(<OpenLayers.Marker>)} internal marker list  
    2727     */ 
    2828    markers: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/MultiMap.js

    r6313 r6835  
    1414 *  
    1515 * Inherits from: 
    16  *  - <OpenLayers.Layers.EventPane> 
    17  *  - <OpenLayers.Layers.FixedZoomLevels> 
     16 *  - <OpenLayers.Layer.EventPane> 
     17 *  - <OpenLayers.Layer.FixedZoomLevels> 
    1818 */ 
    1919OpenLayers.Layer.MultiMap = OpenLayers.Class( 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/Text.js

    r6441 r6835  
    5151    /**  
    5252     * Property: features 
    53      * Array({<OpenLayers.Feature>})  
     53     * {Array(<OpenLayers.Feature>)}  
    5454     */ 
    5555    features: null, 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/Vector.js

    r6413 r6835  
    8888    /**  
    8989     * APIProperty: features 
    90      * Array({<OpenLayers.Feature.Vector>})  
     90     * {Array(<OpenLayers.Feature.Vector>)}  
    9191     */ 
    9292    features: null, 
     
    9494    /**  
    9595     * Property: selectedFeatures 
    96      * Array({<OpenLayers.Feature.Vector>})  
     96     * {Array(<OpenLayers.Feature.Vector>)}  
    9797     */ 
    9898    selectedFeatures: null, 
     
    119119    /** 
    120120     * Property: renderers 
    121      * Array({String}) List of supported Renderer classes. Add to this list to 
     121     * {Array(String)} List of supported Renderer classes. Add to this list to 
    122122     * add support for additional renderers. This list is ordered: 
    123123     * the first renderer which returns true for the  'supported()' 
  • branches/openlayers/2.6/lib/OpenLayers/Layer/WMS/Untiled.js

    r5614 r6835  
    1010/** 
    1111 * Class: OpenLayers.Layer.WMS.Untiled 
    12  * Deprecated, to be removed in 3.0 - instead use OpenLayers.Layer.WMS and  
     12 * *Deprecated*.  To be removed in 3.0.  Instead use OpenLayers.Layer.WMS and  
    1313 *     pass the option 'singleTile' as true. 
    1414 *  
  • branches/openlayers/2.6/lib/OpenLayers/Map.js

    r6718 r6835  
    821821    * 
    822822    * Parameters: 
    823     * layers - Array({<OpenLayers.Layer>})  
     823    * layers - {Array(<OpenLayers.Layer>)}  
    824824    */     
    825825    addLayers: function (layers) { 
     
    15941594 
    15951595        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"; 
    15981598        } 
    15991599    }, 
     
    19641964 
    19651965    /** 
    1966      * APIMethod: getLonLatFromViewPortPx 
     1966     * Method: getLonLatFromViewPortPx 
    19671967     *  
    19681968     * Parameters: 
     
    20232023    /** 
    20242024     * 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. 
    20282031     *  
    20292032     * Returns:  
    20302033     * {<OpenLayers.Pixel>} An OpenLayers.Pixel corresponding to the  
    2031      *                      <OpenLayers.LonLat> translated into view port  
    2032      *           &nbs