1
1
< html class ="elevation-widget " data-ng-app ="elevation ">
2
+
2
3
< head >
3
- < meta charset ="utf-8 "/>
4
+ < meta charset ="utf-8 " />
4
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no " />
5
- < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css ">
6
6
< link rel ="
stylesheet "
href ="
https://unpkg.com/[email protected] /dist/leaflet.css "
/>
7
7
< link rel ="stylesheet " href ="css/elevation.css " />
8
8
< link rel ="stylesheet " href ="css/mapzen-common.css " />
9
9
10
- < script >
11
- ( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
12
- ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
13
- m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m )
14
- } ) ( window , document , 'script' , 'https://www.google-analytics.com/analytics.js' , 'ga' ) ;
15
-
16
- ga ( 'create' , 'UA-47035811-1' , 'auto' ) ;
17
- ga ( 'send' , 'pageview' ) ;
18
- </ script >
19
-
20
10
< script src ="conf/environment.conf "> </ script >
21
11
< script type ="text/javascript " src ="https://code.jquery.com/jquery-1.11.3.min.js "> </ script >
22
12
< script type ="text/javascript " src ="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js "> </ script >
27
17
< script type ="text/javascript " src ="../flot/jquery.flot.canvas.js "> </ script >
28
18
< script type ="text/javascript " src ="../flot/jquery.flot.stack.js "> </ script >
29
19
</ head >
20
+
30
21
< body >
31
- < div class ="container-fluid " data-ng-controller ="ElevationController ">
32
- < div id ="map "> </ div >
33
- < div class = "row not-map-part ">
34
- < div id ="graph_controls " class = "clear ">
35
- < div id ="controls " class = "col-sm-4 col-md-4 ">
36
- < div id ="sampling_text "> < h5 > Sampling Distance: 50</ h5 > </ div >
37
- < input id ="resample_distance " class = "range-bar " min ="10 " max ="100 " value ="50 " type ="range "> </ input >
38
- < div class = "instruction ">
22
+ < div class ="container " data-ng-controller ="ElevationController ">
23
+ < div id ="sidebar ">
24
+ < div >
25
+ < img src ="../routing/images/Valhalla.png " height ="175 " width ="175 " alt ="Valhalla Logo ">
26
+ </ div >
27
+ < div id ="controls ">
28
+ < div id ="graph " style ="width: 100%; height: 300px "> </ div >
29
+ < div id ="sampling_text ">
30
+ Sampling Distance: 50
31
+ </ div >
32
+ < input id ="resample_distance " class ="range-bar " min ="10 " max ="100 " value ="50 " type ="range "> </ input >
33
+ < div class ="instruction ">
39
34
< div >
40
- < button id ="clearbtn " class =" btn btn-mapzen " type ="button " style ='margin-right: 1em; '> clear</ button >
35
+ < button id ="clearbtn " type ="button " style ='margin-right: 1em; '> clear</ button >
41
36
< div id ='permalink ' style ='display:inline-block; '> </ div >
42
37
</ div >
43
38
</ div >
44
- < p >
45
- The sampling distance controls how often other points than the ones you've clicked will be sampled.
46
- Clicking on a displayed marker will show its height and distance along the course of input points.
47
- < span class =' hide-if-iframed ' > Learn more about our < a href =' https://mapzen.com/blog/moving-on-up/ ' > Mapzen Elevation Service </ a > and the < a href =' https://github.com/valhalla/valhalla-docs/blob/master/elevation/elevation-service.md ' > API reference </ a > . </ span >
48
- </ p >
39
+ < p >
40
+ The sampling distance controls how often other points than the ones you've clicked will be sampled.
41
+ Clicking on a displayed marker will show its height and distance along the course of input points.
42
+ </ p >
43
+ < h5 > < a href =' https://valhalla.github.io/valhalla/api/elevation/api-reference/ ' > Elevation API docs </ a > </ h5 >
49
44
</ div >
50
45
</ div >
51
- < div class = "col-sm-8 col-md-8 ">
52
- < div id ="graph " style = "width: 100%; height: 300px "> </ div > </ div >
46
+ < div id ="map-container ">
47
+ < div id ="map "> </ div >
48
+ </ div >
53
49
</ div >
54
- </ div >
55
50
< script type ="text/javascript " src ="../routing/js/leaflet-hash.js "> </ script >
56
51
< script type ="text/javascript " src ="js/elevation.js "> </ script >
57
52
< script type ="text/javascript " src ="js/L.Elevation.Widget.js "> </ script >
58
53
59
54
< script >
60
55
//hiking map with terrain
61
56
var defaultMapLayer = L . tileLayer ( 'https://b.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey=f8f13e0070864ac3ad996f7bf7beb9af' , {
62
- attribution : 'Maps © <a href="https://www.thunderforest.com">Thunderforest</a> | Data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
57
+ attribution : 'Maps © <a href="https://www.thunderforest.com">Thunderforest</a> | Data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
63
58
} ) , outdoors = L . tileLayer ( 'https://b.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey=f8f13e0070864ac3ad996f7bf7beb9af' , {
64
- attribution : 'Maps © <a href="https://www.thunderforest.com">Thunderforest</a> | Data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
59
+ attribution : 'Maps © <a href="https://www.thunderforest.com">Thunderforest</a> | Data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
65
60
} ) ;
66
61
</ script >
67
62
70
65
if ( window . self !== window . top ) {
71
66
document . documentElement . className += ' is-iframed-demo' ;
72
67
}
73
- window . addEventListener ( "hashchange" , function ( ) { parent . postMessage ( window . location . hash , "*" ) } ) ;
68
+ window . addEventListener ( "hashchange" , function ( ) { parent . postMessage ( window . location . hash , "*" ) } ) ;
74
69
</ script >
75
70
</ body >
76
- </ html >
71
+
72
+ </ html >
0 commit comments