Ticket #1089: scaleLine.patch
| File scaleLine.patch, 2.2 kB (added by ianmayo, 1 year ago) |
|---|
-
tests/list-tests.html
old new 78 78 <li>Control/test_PanZoomBar.html</li> 79 79 <li>Control/test_Permalink.html</li> 80 80 <li>Control/test_Scale.html</li> 81 <li>Control/test_ScaleLine.html</li> 81 82 <li>test_Handler.html</li> 82 83 <li>Handler/test_Feature.html</li> 83 84 <li>Handler/test_MouseWheel.html</li> -
theme/default/style.css
old new 23 23 display: block; 24 24 position: absolute; 25 25 } 26 .olControlScaleLine { 27 right: 3px; 28 bottom: 8em; 29 font-size: xx-small; 30 text-align:center; 31 } 32 .olControlScaleLine div { 33 border: solid 2px black; 34 } 35 .olControlScaleLineBottom { 36 margin-top:-2px; 37 } 38 26 39 .olControlPermalink { 27 40 right: 3px; 28 41 bottom: 1.5em; … … 53 66 54 67 .olControlOverviewMapMinimizeButton { 55 68 right: 0px; 56 bottom: 80px;69 bottom: 9em; 57 70 } 58 71 59 72 .olControlOverviewMapMaximizeButton { 60 73 right: 0px; 61 bottom: 80px;74 bottom: 6.5em; 62 75 } 63 76 64 77 .olControlOverviewMapExtentRectangle { -
examples/controls.html
old new 2 2 <head> 3 3 <style type="text/css"> 4 4 #map { 5 width: 512px;6 height: 512px;5 width: 600px; 6 height: 400px; 7 7 border: 1px solid black; 8 8 } 9 9 </style> … … 15 15 16 16 map.addControl(new OpenLayers.Control.PanZoomBar()); 17 17 map.addControl(new OpenLayers.Control.MouseToolbar()); 18 map.addControl(new OpenLayers.Control.Scale()); 19 map.addControl(new OpenLayers.Control.ScaleLine()); 18 20 map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false})); 19 21 map.addControl(new OpenLayers.Control.Permalink()); 20 22 map.addControl(new OpenLayers.Control.Permalink('permalink'));
