OpenLayers OpenLayers

Changeset 8577

Show
Ignore:
Timestamp:
01/04/09 12:34:36 (1 year ago)
Author:
sbenthall
Message:

merge from -r8218:HEAD topp/wfs sandbox

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/topp/wfsv/examples/editingtoolbar-outside.html

    r7472 r8577  
    22<html xmlns="http://www.w3.org/1999/xhtml"> 
    33  <head> 
     4    <title>OpenLayers: Custom Editing Toolbar</title> 
    45    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/marker-shadow.html

    r7782 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Vector Graphics with Shadows</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/multiserver.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Tiles from Multiple Servers</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/navtoolbar-outsidemap.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Custom Navigation Toolbar</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/notile.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Single Tile</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/openmnnd.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: OpenMNND</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/ordering.html

    r7782 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Z-Ordering and Y-Ordering of Vector Features</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/osm-layer.html

    r7121 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: OSM Layer</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/panel.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Control Panel</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/point-track-markers.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Point Track Markers</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/popupMatrix.html

    r7887 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml" debug="true"> 
    22  <head> 
     3    <title>OpenLayers: Popup Mayhem</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/projected-map.html

    r7374 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
    3  
     3    <title>OpenLayers: Non-Geographic Projection</title> 
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    55    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/spherical-mercator.html

    r7988 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Spherical Mercator</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/stylemap.html

    r7487 r8577  
    6969 
    7070    <p id="shortdesc"> 
    71         Shows how to use a StyleMap. 
     71        Shows how to use a StyleMap to style features with rule based styling. 
     72        A style map references on or more OpenLayers.Style objects.  These 
     73        OpenLayers.Style objects are collections of OpenLayers.Rule objects 
     74        that determine how features are styled.  An OpenLayers.Rule object 
     75        combines an OpenLayers.Filter object with a symbolizer.  A filter is used 
     76        to determine whether a rule applies for a given feature, and a symbolizer 
     77        is used to draw the feature if the rule applies. 
    7278    </p> 
    7379 
  • sandbox/topp/wfsv/examples/styles-context.html

    r7095 r8577  
    8585 
    8686    <p id="shortdesc"> 
    87         Shows how to create a feature styles. 
     87        To style features with a custom function that evaluates each feature, use 
     88        the context option of an OpenLayers.Style object.  If the context object 
     89        contains a function and this function is referenced in a symbolizer, the 
     90        function will be called with the feature as an argument.. 
    8891    </p> 
    8992 
  • sandbox/topp/wfsv/examples/styles-rotation.html

    r7469 r8577  
    7676  </head> 
    7777  <body onload="init()"> 
    78     <h1 id="title">Rotation Styles Example</h1> 
    79     <p id="shortdesc">Vector point feature symbolizers can have a rotation property. The center of the rotation is the point of the image specified by graphicXOffset and graphicYOffset.</p> 
     78    <h1 id="title">Rotation Style Example</h1> 
     79    <p id="shortdesc">To style point features with rotation, use the rotation 
     80    property of the symbolizer. The center of the rotation is the point of the 
     81    image specified by graphicXOffset and graphicYOffset.</p> 
    8082    <div id="map"></div> 
    8183    <div id="docs"/> 
  • sandbox/topp/wfsv/examples/vector-features.html

    r7673 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Vector Features</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/wfs-protocol-transactions.html

    r8218 r8577  
    112112            wfs = new OpenLayers.Layer.Vector("Editable Features", { 
    113113                strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], 
     114                projection: new OpenLayers.Projection("EPSG:4326"), 
    114115                protocol: new OpenLayers.Protocol.WFS({ 
    115116                    version: "1.1.0", 
    116                     srsName: "EPSG:900913", 
     117                    srsName: "EPSG:4326", 
    117118                    url: "http://demo.opengeo.org/geoserver/wfs?strict=true", 
    118119                    featureNS :  "http://opengeo.org", 
    119                     featureType: "railroads", 
     120                    featureType: "restricted", 
    120121                    geometryName: "the_geom", 
    121                     schema: "http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=opengeo:railroads
     122                    schema: "http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=opengeo:restricted
    122123                }) 
    123124            });  
     
    134135             
    135136            var draw = new OpenLayers.Control.DrawFeature( 
    136                 wfs, OpenLayers.Handler.Path
     137                wfs, OpenLayers.Handler.Polygon
    137138                { 
    138139                    title: "Draw Feature", 
  • sandbox/topp/wfsv/examples/wfs-t.html

    r7942 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: WFS-T</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/wmst.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: WMS + Time</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/wrapDateLine.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Wrap Date Line</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/examples/yahoo.html

    r7095 r8577  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <title>OpenLayers: Yahoo Layer</title> 
    34    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <link rel="stylesheet" href="style.css" type="text/css" /> 
  • sandbox/topp/wfsv/lib/OpenLayers.js

    r8159 r8577  
    164164            "OpenLayers/Control/Panel.js", 
    165165            "OpenLayers/Control/SelectFeature.js", 
     166            "OpenLayers/Control/WFSGetFeature.js", 
    166167            "OpenLayers/Control/NavigationHistory.js", 
    167168            "OpenLayers/Control/Measure.js", 
  • sandbox/topp/wfsv/lib/OpenLayers/Request.js

    r7984 r8577  
    3434     * APIMethod: issue 
    3535     * Create a new XMLHttpRequest object, open it, set any headers, bind 
    36      *     a callback to done state, and send any data. 
     36     *     a callback to done state, and send any data.  It is recommended that 
     37     *     you use one <GET>, <POST>, <PUT>, <DELETE>, <OPTIONS>, or <HEAD>. 
     38     *     This method is only documented to provide detail on the configuration 
     39     *     options available to all request methods. 
    3740     * 
    3841     * Parameters: 
     
    5457     * params - {Object} Any key:value pairs to be appended to the 
    5558     *     url as a query string.  Assumes url doesn't already include a query 
    56      *     string or hash.  Parameter values that are arrays will be 
     59     *     string or hash.  Typically, this is only appropriate for <GET> 
     60     *     requests where the query string will be appended to the url. 
     61     *     Parameter values that are arrays will be 
    5762     *     concatenated with a comma (note that this goes against form-encoding) 
    5863     *     as is done with <OpenLayers.Util.getParameterString>. 
    5964     * headers - {Object} Object with header:value pairs to be set on 
    6065     *     the request. 
    61      * data - {Object} Any data to send with the request. 
     66     * data - {String | Document} Optional data to send with the request. 
     67     *     Typically, this is only used with <POST> and <PUT> requests. 
     68     *     Make sure to provide the appropriate "Content-Type" header for your 
     69     *     data.  For <POST> and <PUT> requests, the content type defaults to 
     70     *     "application-xml".  If your data is a different content type, or 
     71     *     if you are using a different HTTP method, set the "Content-Type" 
     72     *     header to match your data type. 
    6273     * callback - {Function} Function to call when request is done. 
    6374     *     To determine if the request failed, check request.status (200 
  • sandbox/topp/wfsv/lib/OpenLayers/Util.js

    r8147 r8577  
    254254 * position - {String} The style.position value. 
    255255 * border - {String} The border to place around the image. 
     256 * opacity - {Float} Fractional value (0.0 - 1.0) 
    256257 * delayDisplay - {Boolean} If true waits until the image has been 
    257258 *                          loaded. 
    258  * opacity - {Float} Fractional value (0.0 - 1.0) 
    259259 *  
    260260 * Returns: 
     
    476476 * position - {String} 
    477477 * border - {String} 
    478  * sizing {String} 'crop', 'scale', or 'image'. Default is "scale" 
    479  * delayDisplay{Boolean} 
     478 * sizing - {String} 'crop', 'scale', or 'image'. Default is "scale" 
     479 * opacity - {Float} Fractional value (0.0 - 1.0) 
     480 * delayDisplay - {Boolean} If true waits until the image has been 
     481 *                          loaded. 
    480482 *  
    481483 * Returns: