-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgmap.html
More file actions
85 lines (51 loc) · 5.74 KB
/
Copy pathgmap.html
File metadata and controls
85 lines (51 loc) · 5.74 KB
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
<!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-1.0.1.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.1.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="23792972-d84a-4802-bf5e-99a34975595e"></div>
<script type="application/json" id="1492">
{"f29ccf7c-cabf-4a32-9463-2fe19e6b5739":{"roots":{"references":[{"attributes":{"callback":null},"id":"1413","type":"Range1d"},{"attributes":{"callback":null,"data":{"lat":[30.29,30.2,30.29],"lon":[-97.7,-97.74,-97.78]},"selected":{"id":"1448","type":"Selection"},"selection_policy":{"id":"1447","type":"UnionRenderers"}},"id":"1438","type":"ColumnDataSource"},{"attributes":{},"id":"1448","type":"Selection"},{"attributes":{},"id":"1444","type":"LinearScale"},{"attributes":{"formatter":{"id":"1424","type":"MercatorTickFormatter"},"plot":{"id":"1415","subtype":"GMap","type":"GMapPlot"},"ticker":{"id":"1425","type":"MercatorTicker"}},"id":"1426","type":"LinearAxis"},{"attributes":{"callback":null},"id":"1414","type":"Range1d"},{"attributes":{"dimension":"lon"},"id":"1420","type":"MercatorTicker"},{"attributes":{"lat":30.2861,"lng":-97.7394,"zoom":11},"id":"1411","type":"GMapOptions"},{"attributes":{"data_source":{"id":"1438","type":"ColumnDataSource"},"glyph":{"id":"1440","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1441","type":"Circle"},"selection_glyph":null,"view":{"id":"1443","type":"CDSView"}},"id":"1442","type":"GlyphRenderer"},{"attributes":{},"id":"1447","type":"UnionRenderers"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1429","type":"PanTool"},{"id":"1430","type":"WheelZoomTool"},{"id":"1431","type":"ResetTool"},{"id":"1432","type":"HelpTool"}]},"id":"1433","type":"Toolbar"},{"attributes":{"plot":null,"text":"Austin"},"id":"1412","type":"Title"},{"attributes":{"dimension":"lon"},"id":"1419","type":"MercatorTickFormatter"},{"attributes":{"formatter":{"id":"1419","type":"MercatorTickFormatter"},"plot":{"id":"1415","subtype":"GMap","type":"GMapPlot"},"ticker":{"id":"1420","type":"MercatorTicker"}},"id":"1421","type":"LinearAxis"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":15},"x":{"field":"lon"},"y":{"field":"lat"}},"id":"1441","type":"Circle"},{"attributes":{"dimension":"lat"},"id":"1424","type":"MercatorTickFormatter"},{"attributes":{"api_key":"AIzaSyBoQTsIwkTWShRdXeBg0nCf8X-94bJSxsk","below":[{"id":"1421","type":"LinearAxis"}],"left":[{"id":"1426","type":"LinearAxis"}],"map_options":{"id":"1411","type":"GMapOptions"},"renderers":[{"id":"1421","type":"LinearAxis"},{"id":"1426","type":"LinearAxis"},{"id":"1442","type":"GlyphRenderer"}],"title":{"id":"1412","type":"Title"},"toolbar":{"id":"1433","type":"Toolbar"},"x_range":{"id":"1413","type":"Range1d"},"x_scale":{"id":"1444","type":"LinearScale"},"y_range":{"id":"1414","type":"Range1d"},"y_scale":{"id":"1446","type":"LinearScale"}},"id":"1415","subtype":"GMap","type":"GMapPlot"},{"attributes":{},"id":"1431","type":"ResetTool"},{"attributes":{"dimension":"lat"},"id":"1425","type":"MercatorTicker"},{"attributes":{},"id":"1432","type":"HelpTool"},{"attributes":{},"id":"1429","type":"PanTool"},{"attributes":{},"id":"1430","type":"WheelZoomTool"},{"attributes":{},"id":"1446","type":"LinearScale"},{"attributes":{"source":{"id":"1438","type":"ColumnDataSource"}},"id":"1443","type":"CDSView"},{"attributes":{"fill_alpha":{"value":0.8},"fill_color":{"value":"blue"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":15},"x":{"field":"lon"},"y":{"field":"lat"}},"id":"1440","type":"Circle"}],"root_ids":["1415"]},"title":"Bokeh Application","version":"1.0.1"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1492').textContent;
var render_items = [{"docid":"f29ccf7c-cabf-4a32-9463-2fe19e6b5739","roots":{"1415":"23792972-d84a-4802-bf5e-99a34975595e"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
embed_document(root);
clearInterval(timer);
}
attempts++;
if (attempts > 100) {
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
clearInterval(timer);
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>