-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap2.html
93 lines (66 loc) · 4.14 KB
/
map2.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
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
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://code.jquery.com/jquery-1.12.4.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://rawcdn.githack.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>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_b9a35c3f22214cbe86e0876cc49df87f {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_b9a35c3f22214cbe86e0876cc49df87f" ></div>
</body>
<script>
var map_b9a35c3f22214cbe86e0876cc49df87f = L.map(
"map_b9a35c3f22214cbe86e0876cc49df87f",
{
center: [27.81254, 78.642774],
crs: L.CRS.EPSG3857,
zoom: 10,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_ee06f912fb9e483b929015dd519fffd1 = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_b9a35c3f22214cbe86e0876cc49df87f);
var feature_group_5b8ad568506e42c890cef0f2c47adb54 = L.featureGroup(
{}
).addTo(map_b9a35c3f22214cbe86e0876cc49df87f);
var marker_9775af78877d4537877b834ed7a560f9 = L.marker(
[27.81254, 78.642774],
{}
).addTo(feature_group_5b8ad568506e42c890cef0f2c47adb54);
var icon_cfa72ddb86294012b03fccb12e833deb = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
);
marker_9775af78877d4537877b834ed7a560f9.setIcon(icon_cfa72ddb86294012b03fccb12e833deb);
var popup_0912fc5c71b24d7182e5c6aa8d79c2e3 = L.popup({"maxWidth": "100%"});
var html_a8878963066e4bf1a508e472c0b9ace3 = $(`<div id="html_a8878963066e4bf1a508e472c0b9ace3" style="width: 100.0%; height: 100.0%;">hey i am shiv</div>`)[0];
popup_0912fc5c71b24d7182e5c6aa8d79c2e3.setContent(html_a8878963066e4bf1a508e472c0b9ace3);
marker_9775af78877d4537877b834ed7a560f9.bindPopup(popup_0912fc5c71b24d7182e5c6aa8d79c2e3)
;
</script>