aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/html_template_map_leaderline
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/html_template_map_leaderline')
-rw-r--r--snippets/html_template_map_leaderline15
1 files changed, 8 insertions, 7 deletions
diff --git a/snippets/html_template_map_leaderline b/snippets/html_template_map_leaderline
index afcec6d..02affef 100644
--- a/snippets/html_template_map_leaderline
+++ b/snippets/html_template_map_leaderline
@@ -5,12 +5,12 @@
5 <meta charset='utf-8'> 5 <meta charset='utf-8'>
6 <title>Leader Line with Markdown</title> 6 <title>Leader Line with Markdown</title>
7 7
8 <meta property="og:description" content="Add a default marker to the map." /> 8 <meta property="og:description" content="門牌分布地圖" />
9 <meta name="viewport" content="width=device-width, initial-scale=1"> 9 <meta name="viewport" content="width=device-width, initial-scale=1">
10 10
11 <link rel='stylesheet' href='https://unpkg.com/maplibre-gl@4.5.2/dist/maplibre-gl.css' /> 11 <link rel='stylesheet' href='https://unpkg.com/maplibre-gl@5.4.0/dist/maplibre-gl.css' />
12 12
13 <script src='https://unpkg.com/maplibre-gl@4.5.2/dist/maplibre-gl.js'></script> 13 <script src='https://unpkg.com/maplibre-gl@5.4.0/dist/maplibre-gl.js'></script>
14 <script src='https://cdnjs.cloudflare.com/ajax/libs/leader-line/1.0.7/leader-line.min.js'></script> 14 <script src='https://cdnjs.cloudflare.com/ajax/libs/leader-line/1.0.7/leader-line.min.js'></script>
15 <script src='https://cdnjs.cloudflare.com/ajax/libs/marked/14.0.0/marked.min.js'></script> 15 <script src='https://cdnjs.cloudflare.com/ajax/libs/marked/14.0.0/marked.min.js'></script>
16 <style> 16 <style>
@@ -26,12 +26,13 @@
26 #markdown { 26 #markdown {
27 height: 100%; 27 height: 100%;
28 } 28 }
29 29 #map {
30 #map, 30 flex: 70%;
31 }
31 #markdown { 32 #markdown {
32 flex: 50%; 33 flex: 30%;
34 padding: 0.5em 1em;
33 } 35 }
34
35 pre { 36 pre {
36 display: none; 37 display: none;
37 } 38 }