This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
/
point_map.html
48 lines (41 loc) · 10.1 KB
/
point_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.12.4.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.4.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
<style>
html {
width: 100%;
height: 100%;
}
body {
width: 90%;
height: 100%;
margin: auto;
}
</style>
</head>
<body>
<div class="bk-root">
<div class="bk-plotdiv" id="100ad59e-4ff8-42db-b4a5-d6180d9cb127"></div>
</div>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
var docs_json = {"3a691517-c511-4514-961d-ff8c80d8b3d9":{"roots":{"references":[{"attributes":{"overlay":{"id":"f9bac780-947c-4183-8bb3-8d0cd6b4511a","type":"BoxAnnotation"},"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"47c3002c-5621-46d9-b705-552d50e8a1dc","type":"BoxZoomTool"},{"attributes":{"callback":null},"id":"36552ecb-4f56-4a02-bfd6-d5bdbf29a495","type":"DataRange1d"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"489a58a0-1033-4b28-af11-b9af21b25f80","type":"Circle"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"f9bac780-947c-4183-8bb3-8d0cd6b4511a","type":"BoxAnnotation"},{"attributes":{"below":[{"id":"319b7cd0-3ab7-429e-a821-b4e0833bf5e2","type":"LinearAxis"}],"left":[{"id":"9fd88aa2-c007-45cc-ba52-1ea3bdeb4913","type":"LinearAxis"}],"renderers":[{"id":"319b7cd0-3ab7-429e-a821-b4e0833bf5e2","type":"LinearAxis"},{"id":"e707a48d-4959-4f8f-aaa0-72d6b539f83f","type":"Grid"},{"id":"9fd88aa2-c007-45cc-ba52-1ea3bdeb4913","type":"LinearAxis"},{"id":"4af88d0f-3929-40a4-add8-58fb213871ec","type":"Grid"},{"id":"f9bac780-947c-4183-8bb3-8d0cd6b4511a","type":"BoxAnnotation"},{"id":"2b589ebf-91c0-433e-b646-a33f86dc7e36","type":"GlyphRenderer"}],"title":{"id":"10682c35-585b-4e79-80e5-2ee72584f099","type":"Title"},"tool_events":{"id":"d827d18b-ceee-491c-beff-c54479fef51e","type":"ToolEvents"},"toolbar":{"id":"7ade35b5-50b0-4498-afc7-5818c41b6f33","type":"Toolbar"},"x_range":{"id":"36552ecb-4f56-4a02-bfd6-d5bdbf29a495","type":"DataRange1d"},"y_range":{"id":"84c7b8f0-529d-45b3-ad41-04ffa7517f74","type":"DataRange1d"}},"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"795a66f4-a0e7-407f-aa4c-1905d700d609","type":"PanTool"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"795a66f4-a0e7-407f-aa4c-1905d700d609","type":"PanTool"},{"id":"0a7cdad3-92e9-490e-aa0e-9bdb7d642d38","type":"WheelZoomTool"},{"id":"47c3002c-5621-46d9-b705-552d50e8a1dc","type":"BoxZoomTool"},{"id":"0c39fadc-873b-46b9-b8b0-deec21bc56ae","type":"SaveTool"},{"id":"f57bf2c1-7192-4711-a564-0d76d142d6a9","type":"ResetTool"},{"id":"09587701-5ed5-468a-af04-bf61ff416e2b","type":"HelpTool"}]},"id":"7ade35b5-50b0-4498-afc7-5818c41b6f33","type":"Toolbar"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"09587701-5ed5-468a-af04-bf61ff416e2b","type":"HelpTool"},{"attributes":{"callback":null,"column_names":["address","id","x","y","index"],"data":{"address":["Kampinkuja 1, 00100 Helsinki, Finland","Kaivokatu 8, 00101 Helsinki, Finland","Hermanstads strandsv\u00e4g 1, 00580 Helsingfors, Finland","It\u00e4v\u00e4yl\u00e4, 00900 Helsinki, Finland","Tyynenmerenkatu 9, 00220 Helsinki, Finland","Kontulantie 18, 00940 Helsinki, Finland","It\u00e4v\u00e4yl\u00e4, 00800 Helsinki, Finland","Tapulikaupungintie 3, 00750 Helsinki, Finland","Sompionpolku 2, 00730 Helsinki, Finland","Atomitie 5, 00370 Helsinki, Finland","Rautatientori 1, 00100 Helsinki, Finland","Kuparitie 8, 00440 Helsinki, Finland","Trumstigen 8, 00420 Helsingfors, Finland","Kullatorpsv\u00e4gen 1, 00620 Helsingfors, Finland","Malminkaari 15, 00700 Helsinki, Finland","Kyl\u00e4tie 23, 00320 Helsinki, Finland","Malminkartanontie 17, 00410 Helsinki, Finland","\u00c5ggelby torg 2b, 00640 Helsingfors, Finland","Bang\u00e5rdsv\u00e4gen 6, 00101 Helsingfors, Finland","Pit\u00e4j\u00e4nm\u00e4entie 15, 00370 Helsinki, Finland","Eskolantie 2, 00720 Helsinki, Finland","Tattariharjuntie, 00700 Helsinki, Finland","Tallinnanaukio 1, 00930 Helsinki, Finland","Tyynylaavantie 7, 00980 Helsinki, Finland","Varvasm\u00e4enkuja, 00920 Helsinki, Finland","Mellungsbackastr\u00e5ket 6, 00970 Helsingfors, Finland","Vasastigen 2, 00101 Helsingfors, Finland","Hiiht\u00e4j\u00e4ntie 2, 00810 Helsinki, Finland","Ukko-Pekan porras, 00570 Helsinki, Finland","Siltasaarenkatu 16, 00530 Helsinki, Finland","Urho Kekkosen katu 1, 00100 Helsinki, Finland","Gr\u00e4sviksgatan 17, 00101 Helsingfors, Finland","Stillahavsgatan 3, 00220 Helsingfors, Finland","Vilhelmsgatan 4, 00101 Helsingfors, Finland","Torisilta, 00980 Helsinki, Finland"],"id":[1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035],"index":[0,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],"x":[24.9301701,24.9418933,24.9774004,25.0919641,24.9214846,25.0816923,25.042239,25.035855,25.0291078,24.8718598,24.94251,24.8840504,24.877383,24.9483202,25.0125655,24.893153,24.86186,24.9670533,24.9334051,24.8609335,24.9934979,25.040583,25.0778094,25.1424936,25.0756547,25.1080054,24.9609122,25.0291263,25.0068399,24.9494874,24.9337569,24.9250072,24.9214046,24.9468514,25.1204966],"y":[60.1683731,60.1698665,60.18735880000001,60.21448089999999,60.1565781,60.23489060000001,60.2033879,60.2753891,60.2633799,60.22243630000001,60.1711874,60.2306474,60.240163,60.22163339999999,60.25149829999999,60.2177823,60.2485471,60.2291135,60.1986856,60.22401389999999,60.2436961,60.24444239999999,60.20966609999999,60.20751019999999,60.225599,60.2382054,60.18789030000001,60.19413939999999,60.18837519999999,60.1793862,60.1694809,60.16500139999999,60.159069,60.1719108,60.20548979999999]}},"id":"2576b161-b0e4-48c2-b7b6-c07155b32891","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"2576b161-b0e4-48c2-b7b6-c07155b32891","type":"ColumnDataSource"},"glyph":{"id":"ca09d3b9-cbcf-4dd0-bdda-1f3930f93b33","type":"Circle"},"hover_glyph":null,"nonselection_glyph":{"id":"489a58a0-1033-4b28-af11-b9af21b25f80","type":"Circle"},"selection_glyph":null},"id":"2b589ebf-91c0-433e-b646-a33f86dc7e36","type":"GlyphRenderer"},{"attributes":{"callback":null},"id":"84c7b8f0-529d-45b3-ad41-04ffa7517f74","type":"DataRange1d"},{"attributes":{"fill_color":{"value":"red"},"line_color":{"value":"red"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"ca09d3b9-cbcf-4dd0-bdda-1f3930f93b33","type":"Circle"},{"attributes":{},"id":"d827d18b-ceee-491c-beff-c54479fef51e","type":"ToolEvents"},{"attributes":{},"id":"2db45298-40d7-4b20-bff7-9ed54a69a4ad","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"},"ticker":{"id":"108273de-88b4-40bf-b26c-3bbd92befa23","type":"BasicTicker"}},"id":"e707a48d-4959-4f8f-aaa0-72d6b539f83f","type":"Grid"},{"attributes":{},"id":"062b3c3d-6559-4342-8880-27e0ee2a66a6","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"f57bf2c1-7192-4711-a564-0d76d142d6a9","type":"ResetTool"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"0c39fadc-873b-46b9-b8b0-deec21bc56ae","type":"SaveTool"},{"attributes":{"dimension":1,"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"},"ticker":{"id":"f2546e1f-e2d8-48a9-999b-b2aa812b20d3","type":"BasicTicker"}},"id":"4af88d0f-3929-40a4-add8-58fb213871ec","type":"Grid"},{"attributes":{"formatter":{"id":"2db45298-40d7-4b20-bff7-9ed54a69a4ad","type":"BasicTickFormatter"},"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"},"ticker":{"id":"108273de-88b4-40bf-b26c-3bbd92befa23","type":"BasicTicker"}},"id":"319b7cd0-3ab7-429e-a821-b4e0833bf5e2","type":"LinearAxis"},{"attributes":{},"id":"f2546e1f-e2d8-48a9-999b-b2aa812b20d3","type":"BasicTicker"},{"attributes":{"formatter":{"id":"062b3c3d-6559-4342-8880-27e0ee2a66a6","type":"BasicTickFormatter"},"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"},"ticker":{"id":"f2546e1f-e2d8-48a9-999b-b2aa812b20d3","type":"BasicTicker"}},"id":"9fd88aa2-c007-45cc-ba52-1ea3bdeb4913","type":"LinearAxis"},{"attributes":{"plot":null,"text":"A map of address points from a Shapefile"},"id":"10682c35-585b-4e79-80e5-2ee72584f099","type":"Title"},{"attributes":{"plot":{"id":"6775a366-d1a8-4564-b4c4-6be3ca780409","subtype":"Figure","type":"Plot"}},"id":"0a7cdad3-92e9-490e-aa0e-9bdb7d642d38","type":"WheelZoomTool"},{"attributes":{},"id":"108273de-88b4-40bf-b26c-3bbd92befa23","type":"BasicTicker"}],"root_ids":["6775a366-d1a8-4564-b4c4-6be3ca780409"]},"title":"Bokeh Application","version":"0.12.4"}};
var render_items = [{"docid":"3a691517-c511-4514-961d-ff8c80d8b3d9","elementid":"100ad59e-4ff8-42db-b4a5-d6180d9cb127","modelid":"6775a366-d1a8-4564-b4c4-6be3ca780409"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>