OpenLayers OpenLayers

Changeset 7345

Show
Ignore:
Timestamp:
06/10/08 18:00:41 (6 months ago)
Author:
tschaub
Message:

merge r7017:HEAD from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/topp/almanac/build/README.txt

    r1424 r7345  
    55 
    66     cd build 
    7      ./build.sh 
     7     ./build.py 
    88     cd .. 
    99 
  • sandbox/topp/almanac/build/full.cfg

    r6569 r7345  
    1414Firebug/firebug.js 
    1515Firebug/firebugx.js 
     16OpenLayers/Lang/cs-CZ.js 
    1617OpenLayers/Lang/de.js 
    1718OpenLayers/Lang/en-CA.js 
    1819OpenLayers/Lang/fr.js 
    19 OpenLayers/Lang/cs-CZ.js 
     20OpenLayers/Lang/it.js 
     21OpenLayers/Lang/pt-BR.js 
     22OpenLayers/Lang/sv-SE.js 
  • sandbox/topp/almanac/build/library.cfg

    r6569 r7345  
    4747OpenLayers/Renderer/VML.js 
    4848OpenLayers/Renderer.js 
     49OpenLayers/Lang/cs-CZ.js 
    4950OpenLayers/Lang/de.js 
    5051OpenLayers/Lang/en-CA.js 
    5152OpenLayers/Lang/fr.js 
    52 OpenLayers/Lang/cs-CZ.js 
     53OpenLayers/Lang/it.js 
     54OpenLayers/Lang/pt-BR.js 
     55OpenLayers/Lang/sv-SE.js 
    5356 
    54  
  • sandbox/topp/almanac/build/license.txt

    r5614 r7345  
    4444**/ 
    4545 
     46/** 
     47 * Contains XMLHttpRequest.js <http://code.google.com/p/xmlhttprequest/> 
     48 * Copyright 2007 Sergey Ilinsky (http://www.ilinsky.com) 
     49 * 
     50 * Licensed under the Apache License, Version 2.0 (the "License"); 
     51 * you may not use this file except in compliance with the License. 
     52 * You may obtain a copy of the License at 
     53 * http://www.apache.org/licenses/LICENSE-2.0 
     54 */ 
  • sandbox/topp/almanac/build/lite.cfg

    r6569 r7345  
    2222Firebug/firebug.js 
    2323Firebug/firebugx.js 
     24OpenLayers/Lang/cs-CZ.js 
    2425OpenLayers/Lang/de.js 
    2526OpenLayers/Lang/en-CA.js 
    2627OpenLayers/Lang/fr.js 
    27 OpenLayers/Lang/cs-CZ.js 
     28OpenLayers/Lang/it.js 
     29OpenLayers/Lang/pt-BR.js 
     30OpenLayers/Lang/sv-SE.js 
    2831 
  • sandbox/topp/almanac/examples/GMLParser.html

    r6497 r7345  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
    3       <title>OpenLayers GML Parser</title> 
     3    <title>OpenLayers GML Parser</title> 
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5     <style type="text/css"> 
    6         #map { 
    7             width: 800px; 
    8             height: 475px; 
    9             border: 1px solid black; 
    10         } 
    11     </style> 
     5    <link rel="stylesheet" href="style.css" type="text/css" /> 
    126    <script src="../lib/OpenLayers.js"></script> 
    137    <script type="text/javascript"> 
  • sandbox/topp/almanac/examples/KMLParser.html

    r6497 r7345  
    22  <head> 
    33    <title>OpenLayers KML Parser Example</title> 
     4    <link rel="stylesheet" href="style.css" type="text/css" /> 
    45    <script src="../lib/OpenLayers.js"></script> 
    56    <script type="text/javascript"> 
  • sandbox/topp/almanac/examples/accessible.html

    r6497 r7345  
    33        <title>OpenLayers Accessible Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5          
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    66        <style type="text/css"> 
    7             #map { 
    8                 width: 512px; 
    9                 height: 512px; 
    10                 border: 1px solid #eee; 
    11             } 
    127            table { 
    138                border: 1 px solid white; 
     
    9186                        </a> 
    9287                    </td> 
    93                     <td id="map"></td> 
     88                    <td id="map" class="smallmap"></td> 
    9489                    <td> 
    9590                        <a href="javascript: void map.pan(map.getSize().w / 4, 0);" 
  • sandbox/topp/almanac/examples/animated_panning.html

    r6497 r7345  
    33    <title>Animated Panning of the Map via map.panTo</title> 
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5     <style type="text/css"> 
    6         #map { 
    7             width: 512px; 
    8             height: 256px; 
    9             border: 1px solid black; 
    10         } 
    11         #map2 { 
    12             width: 512px; 
    13             height: 256px; 
    14             border: 1px solid black; 
    15         } 
    16     </style> 
     5    <link rel="stylesheet" href="style.css" type="text/css" /> 
    176    <script src="../lib/OpenLayers.js"></script> 
    187    <script type="text/javascript"> 
     
    8776    <div id="tags">map.panTo</div> 
    8877    <div id="shortdesc">Show animated panning effects in the map</div> 
    89     <div id="map"></div> 
     78    <div id="map" class="smallmap"></div> 
    9079    <div id="docs"> 
    9180        <p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br /> 
     
    9584    </div> 
    9685    <button onclick="setCenterInterval()">Start/stop random recenter</button> 
    97     <div id="map2"></div> 
     86    <div id="map2" class="smallmap"></div> 
    9887    <div>     
    9988    <p>To turn off Animated Panning, create a map with an panMethod set to 
  • sandbox/topp/almanac/examples/attribution.html

    r7017 r7345  
    33        <title>OpenLayers Attribution Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5  
    6         <style type="text/css"> 
    7             #map { 
    8                 width: 512px; 
    9                 height: 512px; 
    10                 border: 1px solid black; 
    11             } 
    12         </style> 
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    136        <script src="../lib/OpenLayers.js"></script> 
    147 
     
    4942        </p> 
    5043 
    51         <div id="map"></div> 
     44        <div id="map" class="smallmap"></div> 
    5245 
    5346        <div id="docs"> 
  • sandbox/topp/almanac/examples/baseLayers.html

    r6497 r7345  
    44         
    55        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
     6        <link rel="stylesheet" href="style.css" type="text/css" /> 
    67        <style type="text/css"> 
    7             #map { 
    8                 width: 512; 
    9                 height: 512px; 
    10                 border: 1px solid black; 
    11                 background-color: blue; 
    12             } 
    138            #controls 
    149            { 
     
    9085 
    9186        <div id="controls"> 
    92             <div id="map"></div> 
     87            <div id="map" class="smallmap"></div> 
    9388 
    9489            <div style="background-color:green" onclick="add()"> click to add a marker to the map</div> 
  • sandbox/topp/almanac/examples/boxes-vector.html

    r6145 r7345  
    33        <title>OpenLayers Boxes Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5         <style type="text/css"> 
    6             #map { 
    7                 width: 512px; 
    8                 height: 512px; 
    9                 border: 1px solid black; 
    10             } 
    11         </style> 
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    126        <script src="../lib/OpenLayers.js"></script> 
    137        <script type="text/javascript"> 
     
    5448        </p> 
    5549         
    56         <div id="map"></div> 
     50        <div id="map" class="smallmap"></div> 
    5751 
    5852        <div id="docs"></div> 
  • sandbox/topp/almanac/examples/boxes.html

    r6145 r7345  
    33        <title>OpenLayers Boxes Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5         <style type="text/css"> 
    6             #map { 
    7                 width: 512px; 
    8                 height: 512px; 
    9                 border: 1px solid black; 
    10             } 
    11         </style> 
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    126        <script src="../lib/OpenLayers.js"></script> 
    137        <script type="text/javascript"> 
     
    5347        </p> 
    5448         
    55         <div id="map"></div> 
     49        <div id="map" class="smallmap"></div> 
    5650 
    5751        <div id="docs"></div> 
  • sandbox/topp/almanac/examples/buffer.html

    r6497 r7345  
    33        <title>OpenLayers Buffer Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5         <style type="text/css"> 
    6             #map { 
    7                 width: 512px; 
    8                 height: 512px; 
    9                 border: 1px solid black; 
    10             } 
    11         </style> 
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    126        <script src="../lib/OpenLayers.js"></script> 
    137        <script type="text/javascript"> 
     
    4640        </p> 
    4741 
    48         <div id="map"></div> 
     42        <div id="map" class="smallmap"></div> 
    4943 
    5044        <div id="docs"> 
  • sandbox/topp/almanac/examples/click-handler.html

    r6145 r7345  
    44         
    55        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
     6        <link rel="stylesheet" href="style.css" type="text/css" /> 
    67        <style type="text/css"> 
    78            #map { 
     
    162163            </p> 
    163164     
    164             <div id="map"></div> 
     165            <div id="map" class="smallmap"></div> 
    165166            <p> 
    166167                The click handler can be used to gain more flexibility over handling 
  • sandbox/topp/almanac/examples/click.html

    r7017 r7345  
    44         
    55        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    6         <style type="text/css"> 
    7             #map { 
    8                 width: 512px; 
    9                 height: 512px; 
    10                 border: 1px solid black; 
    11             } 
    12         </style> 
     6        <link rel="stylesheet" href="style.css" type="text/css" /> 
    137        <script src="../lib/OpenLayers.js"></script> 
    148        <script type="text/javascript"> 
    15 OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {                 
     9            OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {                 
    1610                defaultHandlerOptions: { 
    1711                    'single': true, 
     
    7973        </p> 
    8074 
    81         <div id="map"></div> 
     75        <div id="map" class="smallmap"></div> 
    8276     
    8377        <div id="docs"> 
  • sandbox/topp/almanac/examples/controls.html

    r6497 r7345  
    44 
    55        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    6         <style type="text/css"> 
    7             #map { 
    8                 width: 512px; 
    9                 height: 512px; 
    10                 border: 1px solid black; 
    11             } 
    12         </style> 
     6        <link rel="stylesheet" href="style.css" type="text/css" /> 
    137        <script src="../lib/OpenLayers.js"></script> 
    148        <script type="text/javascript"> 
    159            var map; 
    1610            function init(){ 
    17                 map = new OpenLayers.Map('map', { controls: [] }); 
     11                map = new OpenLayers.Map('map', { 
     12                    controls: [ 
     13                        new OpenLayers.Control.PanZoomBar(), 
     14                        new OpenLayers.Control.MouseToolbar(), 
     15                        new OpenLayers.Control.LayerSwitcher({'ascending':false}), 
     16                        new OpenLayers.Control.Permalink(), 
     17                        new OpenLayers.Control.ScaleLine(), 
     18                        new OpenLayers.Control.Permalink('permalink'), 
     19                        new OpenLayers.Control.MousePosition(), 
     20                        new OpenLayers.Control.OverviewMap(), 
     21                        new OpenLayers.Control.KeyboardDefaults() 
     22                    ], 
     23                    numZoomLevels: 6 
     24                     
     25                }); 
    1826     
    19                 map.addControl(new OpenLayers.Control.PanZoomBar()); 
    20                 map.addControl(new OpenLayers.Control.MouseToolbar()); 
    21                 map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false})); 
    22                 map.addControl(new OpenLayers.Control.Permalink()); 
    23                 map.addControl(new OpenLayers.Control.ScaleLine()); 
    24                 map.addControl(new OpenLayers.Control.Permalink('permalink')); 
    25                 map.addControl(new OpenLayers.Control.MousePosition()); 
    26                 map.addControl(new OpenLayers.Control.OverviewMap()); 
    27                 map.addControl(new OpenLayers.Control.KeyboardDefaults()); 
    2827 
    2928                var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", 
     
    5857 
    5958        <a style="float:right" href="" id="permalink">Permalink</a> 
    60         <div id="map"></div> 
     59        <div id="map" class="smallmap"></div> 
    6160 
    6261        <div id="docs"></div> 
  • sandbox/topp/almanac/examples/custom-control-point.html

    r6497 r7345  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
    3       <title>OpenLayers Custom Control Point Examle</title> 
     3    <title>OpenLayers Custom Control Point Examle</title> 
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5     <style type="text/css"> 
    6         #map { 
    7             width: 512px; 
    8             height: 512px; 
    9             border: 1px solid black; 
    10         } 
    11     </style> 
     5    <link rel="stylesheet" href="style.css" type="text/css" /> 
    126    <script src="../lib/OpenLayers.js"></script> 
    137    <script type="text/javascript"> 
     
    5549      </p> 
    5650 
    57     <div id="map"></div> 
     51    <div id="map" class="smallmap"></div> 
    5852    <div id="bounds"></div> 
    5953 
  • sandbox/topp/almanac/examples/custom-control.html

    r6497 r7345  
    33        <title>Custom Control Example</title> 
    44        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    5         <style type="text/css"> 
    6             #map { 
    7                 width: 512px; 
    8                 height: 512px; 
    9                 border: 1px solid black; 
    10             } 
    11         </style> 
     5        <link rel="stylesheet" href="style.css" type="text/css" /> 
    126        <script src="../lib/OpenLayers.js"></script> 
    137        <script type="text/javascript"> 
     
    5953        </p> 
    6054       
    61         <div id="map"></div> 
     55        <div id="map" class="smallmap"></div> 
    6256 
    6357        <div id="docs"></div> 
  • sandbox/topp/almanac/examples/custom-style.html

    r6497 r7345  
    44         
    55        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
     6        <link rel="stylesheet" href="style.css" type="text/css" /> 
    67        <style type="text/css"> 
    7             #map { 
    8                 width: 512px; 
    9                 height: 512px; 
    10                 border: 1px solid gray; 
    11             } 
    128            p { 
    139                width: 500px; 
     
    4844        </p> 
    4945 
    50         <div id="map"></div> 
     46        <div id="map" class="smallmap"></div> 
    5147 
    5248        <div id="docs"> 
  • sandbox/topp/almanac/examples/debug.html

    r6497 r7345  
    44    <head> 
    55        <title>OpenLayers Debug Example</title> 
    6          
     6        <link rel="stylesheet" href="style.css" type="text/css" />         
    77        <script src="../lib/Firebug/firebug.js"></script> 
    88        <script src="../lib/OpenLayers.js"></script> 
  • sandbox/topp/almanac/examples/doubleSetCenter.html

    r6497 r7345  
    55        <script src="../lib/OpenLayers.js"></script> 
    66        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    7         <style type="text/css"> 
    8             #map { 
    9                 width:512px; 
    10                 height:521px; 
    11             } 
    12         </style> 
     7        <link rel="stylesheet" href="style.css" type="text/css" /> 
    13