Changeset 7095 for trunk/openlayers/examples/animated_panning.html
- Timestamp:
- 05/08/08 04:15:07 (7 months ago)
- Files:
-
- trunk/openlayers/examples/animated_panning.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/examples/animated_panning.html
r6497 r7095 3 3 <title>Animated Panning of the Map via map.panTo</title> 4 4 <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" /> 17 6 <script src="../lib/OpenLayers.js"></script> 18 7 <script type="text/javascript"> … … 87 76 <div id="tags">map.panTo</div> 88 77 <div id="shortdesc">Show animated panning effects in the map</div> 89 <div id="map" ></div>78 <div id="map" class="smallmap"></div> 90 79 <div id="docs"> 91 80 <p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br /> … … 95 84 </div> 96 85 <button onclick="setCenterInterval()">Start/stop random recenter</button> 97 <div id="map2"></div>86 <div id="map2" class="smallmap"></div> 98 87 <div> 99 88 <p>To turn off Animated Panning, create a map with an panMethod set to
