File tree Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,9 @@ OSeaM.views.Gauges = OSeaM.View.extend({
105
105
this . layerGaugeVector
106
106
] ) ;
107
107
this . map . addControls ( [
108
+ new OpenLayers . Control . PanZoomBar ( ) ,
109
+ new OpenLayers . Control . Navigation ( ) ,
108
110
new OpenLayers . Control . Attribution ( ) ,
109
- new OpenLayers . Control . KeyboardDefaults ( )
110
111
] ) ;
111
112
this . map . setCenter ( new OpenLayers . LonLat ( 0.0 , 40.0 ) . transform (
112
113
this . projectionWGS84 ,
Original file line number Diff line number Diff line change 15
15
<div class =" control-group" >
16
16
<p ><label class =" tableft50" >Latitude</label ></p >
17
17
<div class =" input-append" >
18
- <input type =" text" id =" latitude" name =" latitude" placeholder =" 52.0" value =" {{ lat }} " />
18
+ <input type =" text" id =" latitude" name =" latitude" placeholder =" 52.0" value =" {{ latitude }} " />
19
19
<span class =" help-inline helpOsm" ></span >
20
20
</div >
21
21
</div >
22
22
<div class =" control-group" >
23
23
<p ><label class =" tableft50" >Longitude</label ></p >
24
24
<div class =" input-append" >
25
- <input type =" text" id =" longitude" name =" longitude" placeholder =" 1.0" value =" {{ lon }} " />
25
+ <input type =" text" id =" longitude" name =" longitude" placeholder =" 1.0" value =" {{ longitude }} " />
26
26
<span class =" help-inline helpOsm" ></span >
27
27
</div >
28
28
</div >
29
- <!-- < div class="control-group">
30
- <p><label class="tableft50">Pegelnullpunkt </label></p>
29
+ <div class =" control-group" >
30
+ <p ><label class =" tableft50" >Water Reference Level </label ></p >
31
31
<div class =" input-append" >
32
- <input type="text" id="gaugezero " name="gaugezero " placeholder="230" value="{{gaugezero }}"/>
32
+ <input type =" text" id =" waterlevel " name =" waterlevel " placeholder =" 230" value =" {{ waterlevel }} " />
33
33
<span class =" help-inline helpOsm" ></span >
34
34
</div >
35
35
</div >-->
Original file line number Diff line number Diff line change 40
40
<span class =" help-inline helpOsm" ></span >
41
41
</div >
42
42
</div >
43
- <div class =" control-group" >< p >
44
- <label class =" tableft50" for =" gaugeType" >Gauge Type</label ></p >
45
- <div class =" input-append" >
46
- <select id =" gaugeType" name =" gaugeType" >
47
- <option value =" RIVER" >River</option >
48
- <option value =" LAKE" >Lake</option >
49
- <option value =" SEA" >Sea</option >
50
- <option value =" UNDEFINED" >Other</option >
51
- </select >
52
- </div >
43
+ <div class =" control-group" >
44
+ < p > <label class =" tableft50" for =" gaugeType" >Gauge Type</label ></p >
45
+ <div class =" input-append" >
46
+ <select id =" gaugeType" name =" gaugeType" >
47
+ <option value =" RIVER" >River</option >
48
+ <option value =" LAKE" >Lake</option >
49
+ <option value =" SEA" >Sea</option >
50
+ <option value =" UNDEFINED" >Other</option >
51
+ </select >
52
+ </div >
53
53
</div >
54
54
</div >
55
55
</div >
You can’t perform that action at this time.
0 commit comments