forked from OasisLMF/OasisPiWind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
piwind_extent_map.html
75 lines (55 loc) · 3.6 KB
/
piwind_extent_map.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
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>L_PREFER_CANVAS = false; L_NO_TOUCH = false; L_DISABLE_3D = false;</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css" />
<link rel="stylesheet" href="https://rawgit.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css" />
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<style> #map_92af75ba86cb4aeba07df94dffac6077 {
position : relative;
width : 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_92af75ba86cb4aeba07df94dffac6077" ></div>
</body>
<script>
var bounds = null;
var map_92af75ba86cb4aeba07df94dffac6077 = L.map(
'map_92af75ba86cb4aeba07df94dffac6077',
{center: [52.737027,-0.914618],
zoom: 7,
maxBounds: bounds,
layers: [],
worldCopyJump: false,
crs: L.CRS.EPSG3857
});
var tile_layer_b298c88bf2834c7ba25f7b3e50a1b9a6 = L.tileLayer(
'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png',
{
"attribution": null,
"detectRetina": false,
"maxZoom": 18,
"minZoom": 1,
"noWrap": false,
"subdomains": "abc"
}
).addTo(map_92af75ba86cb4aeba07df94dffac6077);
var geo_json_accaa5db41c442e5a2ee4730e03e537e = L.geoJson(
{"bbox": [-0.9146182449999999, 52.737026555, -0.860019655, 52.791625145], "features": [{"bbox": [-0.9146182449999999, 52.737026555, -0.860019655, 52.791625145], "geometry": {"coordinates": [[[-0.9146182449999999, 52.791625145], [-0.9146182449999999, 52.737026555], [-0.860019655, 52.737026555], [-0.860019655, 52.791625145], [-0.9146182449999999, 52.791625145]]], "type": "Polygon"}, "id": "0", "properties": {"Description": "All", "highlight": {}, "style": {}}, "type": "Feature"}], "type": "FeatureCollection"}
).addTo(map_92af75ba86cb4aeba07df94dffac6077);
geo_json_accaa5db41c442e5a2ee4730e03e537e.setStyle(function(feature) {return feature.properties.style;});
</script>