forked from brupps/project_3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d5e3ed
commit 846f5b4
Showing
3 changed files
with
140 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Tornado</title> | ||
|
||
<!-- Leaflet CSS --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" | ||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | ||
crossorigin="" /> | ||
|
||
<!-- Our CSS --> | ||
<link rel="stylesheet" type="text/css" href="static/css/polylineCSS.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<!-- The div that holds our map --> | ||
<div id="map"></div> | ||
|
||
<!-- Leaflet JS --> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | ||
crossorigin=""></script> | ||
|
||
<!-- D3 JavaScript --> | ||
<script src="https://d3js.org/d3.v7.min.js"></script> | ||
|
||
<!-- my javascript --> | ||
<script type="text/javascript" src="static/polylineMap.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
body { | ||
padding: 0px; | ||
margin: 0px; | ||
} | ||
#map, | ||
body, | ||
html { | ||
height: 100%; | ||
} | ||
.leaflet-popup-content { | ||
text-align: center; | ||
} | ||
|
||
|
||
/* CSS from the leaflet-choropleth documentation */ | ||
.legend { | ||
color: #555; | ||
padding: 6px 8px; | ||
font: 12px Arial, Helvetica, sans-serif; | ||
font-weight: bold; | ||
background: white; | ||
background: rgba(255,255,255,0.8); | ||
box-shadow: 0 0 15px rgba(0,0,0,0.2); | ||
border-radius: 5px; | ||
} | ||
.legend ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
clear: both; | ||
} | ||
.legend li { | ||
display: inline-block; | ||
width: 30px; | ||
height: 22px; | ||
} | ||
.legend .min { | ||
float: left; | ||
padding-bottom: 5px; | ||
} | ||
.legend .max { | ||
float: right; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters