OpenLayers OpenLayers
Show
Ignore:
Timestamp:
05/08/08 04:15:07 (7 months ago)
Author:
tschaub
Message:

giving examples some style

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/animated_panning.html

    r6497 r7095  
    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