-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapshell.txt
114 lines (93 loc) · 4.48 KB
/
mapshell.txt
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
110
111
112
113
114
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!--Font Awesome CDN and Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<!--Leaflet Core via CartoDB -->
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v2/themes/css/cartodb.ie.css" />
<![endif]-->
<!--Home Button ie Default Extent -->
<link rel="stylesheet" href="../plugins/leaflet.defaultextent.css" />
<script src="../plugins/leaflet.defaultextent.js"></script>
<!--Easy Print Plugin Does not work well -->
<script src="../plugins/leaflet.easyPrint.js"></script>
<link rel="stylesheet" href="../plugins/easyPrint.css" />
<script src="../plugins/jQuery.print.js"></script>
<!--Locate Control Plugin Mapbox CDN Version -->
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.24.0/L.Control.Locate.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.24.0/L.Control.Locate.css' rel='stylesheet' />
<!--[if lt IE 9]>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.21.0/L.Control.Locate.ie.css' rel='stylesheet' />
<![endif]-->
<!--Awesome Marker Plugin -->
<link rel="stylesheet" href="../plugins/leaflet.awesome-markers.css">
<script src="../plugins/leaflet.awesome-markers.js"></script>
<!--Leaflet Hash via Mapbox CDN-->
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<!-- Leafle Social -->
<link rel="stylesheet" href="../plugins/leaflet.social.css" />
<script src="../plugins/leaflet.social.js"></script>
<!--Google Custom Map with locked ovrdc API -->
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?libraries=placeskey=AIzaSyCpIjH_d3jfNPSwPuyrzy2G9H_Ylb1bEd8">
</script>
<script src="../plugins/google.js"></script>
<!-- Esri Leaflet Core -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-core.js"></script>
<!-- Esri Leaflet Geocoder -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.3/esri-leaflet-geocoder.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.3/esri-leaflet-geocoder.css">
<!-- Full Screen via Mapbox-->
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v0.0.4/Leaflet.fullscreen.min.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v0.0.4/leaflet.fullscreen.css' rel='stylesheet' />
<!-- Leaflet Omnivore Plugin GeoJson KML Etc -->
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>
<!--Search Control Features -->
<link rel="stylesheet" href="../plugins/leaflet-search.css" />
<script src="../plugins/leaflet-search.js"></script>
<style>
#map { position:absolute; top:0; bottom:0; width:100%; }
#customlegend {
position:absolute;
padding:0px;
bottom:40px;
right:0px;
z-index:999;
overflow:auto;
opacity:0.8;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = new L.Map('map', {zoom: 13, center: new L.latLng([39.674910, -82.708529]) });
var OpenStreetMap_BlackAndWhite = L.tileLayer('http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png', {
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);
$.getJSON('../data/fair_address.geojson', function(data) {
var address = L.geoJson(data, {
style: function(feature) {
return {color: "#900000"};
},
pointToLayer: function(feature, latlng) {
return new L.CircleMarker(latlng, {redius: 10, fillOpactiy: 0.8});
},
onEachFeature: function(feature, layer) {
layer.bindPopup(feature.properties.LSN);
}
})
address.addTo(map);
});
</script>
</body>
</html>