Created
November 8, 2016 11:15
-
-
Save LouisaKB/f512eb281357b66812540ecd494376ce to your computer and use it in GitHub Desktop.
Template
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
<html> | |
<head> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.1/dist/leaflet.css" /> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<script src="https://unpkg.com/leaflet@1.0.1/dist/leaflet.js"></script> | |
</head> | |
<body onload="filter()"> | |
<div id="sidebar" class="sidebar"> | |
<div class="form-inline form-margin"> | |
<div class="form-group"> | |
<select onchange="filter()" id="travelTime" class="form-control"> | |
<option value="30">30 minutes</option> | |
<option value="60">1 hour</option> | |
</select> | |
</div> | |
<div class="form-group"> | |
<select onchange="filter()" id="transportMode" class="form-control"> | |
<option value="public_transport">Public Transport</option> | |
<option value="driving">Car</option> | |
</select> | |
</div> | |
</div> | |
<ul id="listContainer" class="list-group"></ul> | |
</div> | |
<div id="results"> | |
<div id="map" class="container"></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment