Browse Source

Add slippy map (#2), add custom "send money" icon

master
Skylar Ittner 3 months ago
parent
commit
d93b4c4c36
9 changed files with 457 additions and 3 deletions
  1. 21
    0
      www/css/styles.css
  2. 2
    0
      www/img/money-send.svg
  3. 5
    0
      www/index.html
  4. 8
    1
      www/js/home.js
  5. 3
    1
      www/js/main.js
  6. 16
    0
      www/js/map.js
  7. 3
    0
      www/package.json
  8. 28
    1
      www/pages/home.html
  9. 371
    0
      www/yarn.lock

+ 21
- 0
www/css/styles.css View File

@@ -98,4 +98,25 @@ html.md .navbar .link {
98 98
     width: auto;
99 99
     height: 55em;
100 100
     max-height: 50vh;
101
+}
102
+
103
+#map {
104
+    position: absolute;
105
+    top: 0;
106
+    left: 0;
107
+    height: 100%;
108
+    width: 100%;
109
+}
110
+
111
+.card-expandable.card-closing, .card-expandable.card-opened, .card-expandable.card-opening {
112
+    z-index: 9999999;
113
+}
114
+
115
+.card-expandable #map {
116
+    top: var(--f7-navbar-height);
117
+    height: calc(100% - var(--f7-navbar-height));
118
+}
119
+
120
+.card-backdrop {
121
+    z-index: 999999;
101 122
 }

+ 2
- 0
www/img/money-send.svg View File

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<svg width="64" height="64" version="1.1" viewBox="0 0 16.933 16.933" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 -280.07)"><path transform="matrix(.26458 0 0 .26458 0 280.07)" d="m46.492 14.428c-9.6619-9.07e-4 -19.322 4.8906-28.984 4.8906-2.4231 0-4.8444-0.30719-7.2676-1.0762-0.2722-0.086174-0.54579-0.12695-0.8125-0.12695-1.35 0-2.5293 1.0457-2.5293 2.4961v24.887c0 0.99073 0.56583 1.9293 1.4766 2.3105 3.0428 1.2771 6.0892 1.7637 9.1328 1.7637 9.6619 0 19.322-4.8926 28.984-4.8926 2.4231 0 4.8444 0.30757 7.2676 1.0762 0.2722 0.086174 0.54579 0.12695 0.8125 0.12695 1.35 0 2.5293-1.0437 2.5293-2.4941v-24.887c-8.88e-4 -0.99152-0.56778-1.9305-1.4785-2.3125v0.001953c-3.0428-1.2763-6.0872-1.7637-9.1309-1.7637zm2.4668 3.9316c1.5328 0.17008 2.9869 0.48972 4.377 0.99414v3.834c-2.4231-0.3069-4.3024-2.3297-4.377-4.8281zm-38.297 3.9316c1.5783 0.39534 3.2255 0.59252 4.9199 0.69922-0.46125 2.3055-2.4882 4.043-4.9199 4.043v-4.7422zm21.338 0.10547c5.3054 0 9.6035 4.2981 9.6035 9.6035s-4.2981 9.6035-9.6035 9.6035c-5.3054 0-9.6035-4.2981-9.6035-9.6035s4.2981-9.6035 9.6035-9.6035zm0 3.5879c-0.23768 0-0.47422 0.0895-0.6543 0.27148l-5.1426 5.1406c-0.36402 0.36397-0.36402 0.95239 0 1.3125l0.42188 0.42578c0.37177 0.36775 0.97188 0.35968 1.332-0.015625l2.8047-2.9238v7.0723c0 0.51507 0.41268 0.92773 0.92773 0.92773h0.62109c0.51505 0 0.92773-0.41266 0.92773-0.92773v-7.0723l2.8047 2.9238c0.36015 0.37568 0.96023 0.38386 1.3281 0.015625l0.42188-0.42578c0.36403-0.36397 0.36403-0.95235 0-1.3125l-5.1348-5.1406c-0.18201-0.18198-0.42052-0.27148-0.6582-0.27148zm21.336 11.197v4.5273c-1.3743-0.34432-2.7999-0.53738-4.2598-0.66211 0.46046-2.0458 2.1559-3.5985 4.2598-3.8652zm-42.674 3.7168c2.6961 0 4.878 2.1391 4.998 4.8164-1.7673-0.14211-3.4198-0.49493-4.998-1.0684v-3.748z" stroke-width=".078444"/></g></svg>

+ 5
- 0
www/index.html View File

@@ -11,6 +11,8 @@
11 11
 <link rel="stylesheet" href="fonts/roboto/Roboto.css">
12 12
 <link rel="stylesheet" href="node_modules/framework7/css/framework7.bundle.min.css">
13 13
 <link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.min.css">
14
+<link rel="stylesheet" href="node_modules/leaflet/dist/leaflet.css">
15
+<link rel="stylesheet" href="node_modules/mapbox-gl/dist/mapbox-gl.css">
14 16
 <link rel="stylesheet" href="css/styles.css">
15 17
 
16 18
 <title>Helping Helena</title>
@@ -28,6 +30,9 @@
28 30
 <script src="node_modules/jquery/dist/jquery.min.js"></script>
29 31
 <script src="node_modules/framework7/js/framework7.bundle.min.js"></script>
30 32
 <script src="node_modules/qrcode-generator/qrcode.js"></script>
33
+<script src="node_modules/leaflet/dist/leaflet.js"></script>
34
+<script src="node_modules/mapbox-gl/dist/mapbox-gl.js"></script>
35
+<script src="node_modules/mapbox-gl-leaflet/leaflet-mapbox-gl.js"></script>
31 36
 
32 37
 <script src="settings.js"></script>
33 38
 <script src="js/api.js"></script>

+ 8
- 1
www/js/home.js View File

@@ -23,7 +23,8 @@ $(".view-main").on("card:close", ".card-expandable", function () {
23 23
 
24 24
 $(".view-main").on("card:closed", ".card-expandable", function () {
25 25
     $(".ptr-preloader").removeClass("display-none");
26
-    $("#receive-card").removeClass("card-expandable");
26
+    $(this).removeClass("card-expandable");
27
+    leafletmap.invalidateSize();
27 28
 });
28 29
 
29 30
 function loadBalance(callback) {
@@ -50,6 +51,12 @@ function openReceiveCard() {
50 51
     app.card.open("#receive-card");
51 52
 }
52 53
 
54
+function openMapCard() {
55
+    $("#map-card").addClass("card-expandable");
56
+    app.card.open("#map-card");
57
+    leafletmap.invalidateSize();
58
+}
59
+
53 60
 function loadQrCode(callback) {
54 61
     $("#receive-loading").removeClass("display-none");
55 62
     callAPI("getprofile", {

+ 3
- 1
www/js/main.js View File

@@ -17,7 +17,9 @@ var app = new Framework7({
17 17
     name: "HelpingHelena",
18 18
     id: "com.netsyms.HelpingHelena",
19 19
     theme: platform_theme,
20
-    debug: true,
20
+    card: {
21
+        swipeToClose: false
22
+    },
21 23
     init: true,
22 24
     initOnDeviceReady: false,
23 25
     routes: routes

+ 16
- 0
www/js/map.js View File

@@ -0,0 +1,16 @@
1
+/*
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+
8
+var leafletmap = L.map('map', {
9
+    attributionControl: false,
10
+    minZoom: 12
11
+});
12
+leafletmap.setView([46.595, -112.019], 13);
13
+var gl = L.mapboxGL({
14
+    accessToken: 'none',
15
+    style: 'https://maptiles.netsyms.net/styles/klokantech-basic/style.json'
16
+}).addTo(leafletmap);

+ 3
- 0
www/package.json View File

@@ -9,6 +9,9 @@
9 9
         "@fortawesome/fontawesome-free": "^5.6.3",
10 10
         "framework7": "^4",
11 11
         "jquery": "^3.3.1",
12
+        "leaflet": "^1.4.0",
13
+        "mapbox-gl": "^0.53.1",
14
+        "mapbox-gl-leaflet": "^0.0.4",
12 15
         "qrcode-generator": "^1.4.3"
13 16
     }
14 17
 }

+ 28
- 1
www/pages/home.html View File

@@ -79,6 +79,32 @@
79 79
                     </div>
80 80
                 </div>
81 81
             </div>
82
+
83
+            <div class="col-100 tablet-50 desktop-33">
84
+                <div class="card elevation-2" id="map-card" style="margin-top: var(--f7-card-margin-vertical);" onclick="openMapCard()">
85
+
86
+                    <div class="card-header card-opened-fade-out">
87
+                        Nearby
88
+                    </div>
89
+
90
+                    <div class="card-content text-align-center" style="min-height: 16.58em;">
91
+                        <div class="navbar display-none">
92
+                            <div class="navbar-inner">
93
+                                <div class="title">Nearby</div>
94
+
95
+                                <div class="right">
96
+                                    <a href="#" class="link icon-only card-close">
97
+                                        <i class="material-icons">close</i>
98
+                                    </a>
99
+                                </div>
100
+                            </div>
101
+                        </div>
102
+
103
+                        <div id="map"></div>
104
+                    </div>
105
+                </div>
106
+            </div>
107
+
82 108
         </div>
83 109
 
84 110
         <!-- Make sure the content won't be blocked by the floating button -->
@@ -88,10 +114,11 @@
88 114
 
89 115
     <div class="fab fab-right-bottom">
90 116
         <a href="/sendmoney/0">
91
-            <i class="material-icons">add</i>
117
+            <img src="img/money-send.svg" style="margin: 0.5em; filter: invert(1);" />
92 118
         </a>
93 119
     </div>
94 120
 
121
+    <script src="js/map.js"></script>
95 122
     <script src="js/home.js"></script>
96 123
 
97 124
     <script>

+ 371
- 0
www/yarn.lock View File

@@ -7,6 +7,103 @@
7 7
   resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-5.8.1.tgz#cbafbfe8894c4e3e3c3a9da6774e249ac1f2da8b"
8 8
   integrity sha512-GJtx6e55qLEOy2gPOsok2lohjpdWNGrYGtQx0FFT/++K4SYx+Z8LlPHdQBaFzKEwH5IbBB4fNgb//uyZjgYXoA==
9 9
 
10
+"@mapbox/geojson-area@0.2.2":
11
+  version "0.2.2"
12
+  resolved "https://registry.yarnpkg.com/@mapbox/geojson-area/-/geojson-area-0.2.2.tgz#18d7814aa36bf23fbbcc379f8e26a22927debf10"
13
+  integrity sha1-GNeBSqNr8j+7zDefjiaiKSfevxA=
14
+  dependencies:
15
+    wgs84 "0.0.0"
16
+
17
+"@mapbox/geojson-rewind@^0.4.0":
18
+  version "0.4.0"
19
+  resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.4.0.tgz#0d3632d4c1b4a928cf10a06ade387e1c8a8c181b"
20
+  integrity sha512-b+1uPWBERW4Pet/969BNu61ZPDyH2ilIxBjJDFzxyS9TyszF9UrTQyYIl/G38clux3rtpAGGFSGTCSF/qR6UjA==
21
+  dependencies:
22
+    "@mapbox/geojson-area" "0.2.2"
23
+    concat-stream "~1.6.0"
24
+    minimist "1.2.0"
25
+    sharkdown "^0.1.0"
26
+
27
+"@mapbox/geojson-types@^1.0.2":
28
+  version "1.0.2"
29
+  resolved "https://registry.yarnpkg.com/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz#9aecf642cb00eab1080a57c4f949a65b4a5846d6"
30
+  integrity sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==
31
+
32
+"@mapbox/jsonlint-lines-primitives@^2.0.2":
33
+  version "2.0.2"
34
+  resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234"
35
+  integrity sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=
36
+
37
+"@mapbox/mapbox-gl-supported@^1.4.0":
38
+  version "1.4.0"
39
+  resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.4.0.tgz#36946b22944fe2cfa43cfafd5ef36fdb54a069e4"
40
+  integrity sha512-ZD0Io4XK+/vU/4zpANjOtdWfVszAgnaMPsGR6LKsWh4kLIEv9qoobTVmJPPuwuM+ZI2b3BlZ6DYw1XHVmv6YTA==
41
+
42
+"@mapbox/point-geometry@0.1.0", "@mapbox/point-geometry@^0.1.0", "@mapbox/point-geometry@~0.1.0":
43
+  version "0.1.0"
44
+  resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz#8a83f9335c7860effa2eeeca254332aa0aeed8f2"
45
+  integrity sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=
46
+
47
+"@mapbox/tiny-sdf@^1.1.0":
48
+  version "1.1.0"
49
+  resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-1.1.0.tgz#b0b8f5c22005e6ddb838f421ffd257c1f74f9a20"
50
+  integrity sha512-dnhyk8X2BkDRWImgHILYAGgo+kuciNYX30CUKj/Qd5eNjh54OWM/mdOS/PWsPeN+3abtN+QDGYM4G220ynVJKA==
51
+
52
+"@mapbox/unitbezier@^0.0.0":
53
+  version "0.0.0"
54
+  resolved "https://registry.yarnpkg.com/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz#15651bd553a67b8581fb398810c98ad86a34524e"
55
+  integrity sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4=
56
+
57
+"@mapbox/vector-tile@^1.3.1":
58
+  version "1.3.1"
59
+  resolved "https://registry.yarnpkg.com/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz#d3a74c90402d06e89ec66de49ec817ff53409666"
60
+  integrity sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==
61
+  dependencies:
62
+    "@mapbox/point-geometry" "~0.1.0"
63
+
64
+"@mapbox/whoots-js@^3.1.0":
65
+  version "3.1.0"
66
+  resolved "https://registry.yarnpkg.com/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz#497c67a1cef50d1a2459ba60f315e448d2ad87fe"
67
+  integrity sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==
68
+
69
+ansicolors@~0.2.1:
70
+  version "0.2.1"
71
+  resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.2.1.tgz#be089599097b74a5c9c4a84a0cdbcdb62bd87aef"
72
+  integrity sha1-vgiVmQl7dKXJxKhKDNvNtivYeu8=
73
+
74
+buffer-from@^1.0.0:
75
+  version "1.1.1"
76
+  resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
77
+  integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
78
+
79
+cardinal@~0.4.2:
80
+  version "0.4.4"
81
+  resolved "https://registry.yarnpkg.com/cardinal/-/cardinal-0.4.4.tgz#ca5bb68a5b511b90fe93b9acea49bdee5c32bfe2"
82
+  integrity sha1-ylu2iltRG5D+k7ms6km97lwyv+I=
83
+  dependencies:
84
+    ansicolors "~0.2.1"
85
+    redeyed "~0.4.0"
86
+
87
+concat-stream@~1.6.0:
88
+  version "1.6.2"
89
+  resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
90
+  integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==
91
+  dependencies:
92
+    buffer-from "^1.0.0"
93
+    inherits "^2.0.3"
94
+    readable-stream "^2.2.2"
95
+    typedarray "^0.0.6"
96
+
97
+core-util-is@~1.0.0:
98
+  version "1.0.2"
99
+  resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
100
+  integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
101
+
102
+csscolorparser@~1.0.2:
103
+  version "1.0.3"
104
+  resolved "https://registry.yarnpkg.com/csscolorparser/-/csscolorparser-1.0.3.tgz#b34f391eea4da8f3e98231e2ccd8df9c041f171b"
105
+  integrity sha1-s085HupNqPPpgjHizNjfnAQfFxs=
106
+
10 107
 dom7@^2.1.3:
11 108
   version "2.1.3"
12 109
   resolved "https://registry.yarnpkg.com/dom7/-/dom7-2.1.3.tgz#a736f9c3bfbc4ca039a81cd095f97d1d7f3de19c"
@@ -14,6 +111,26 @@ dom7@^2.1.3:
14 111
   dependencies:
15 112
     ssr-window "^1.0.1"
16 113
 
114
+earcut@^2.1.5:
115
+  version "2.1.5"
116
+  resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.1.5.tgz#829280a9a3a0f5fee0529f0a47c3e4eff09b21e4"
117
+  integrity sha512-QFWC7ywTVLtvRAJTVp8ugsuuGQ5mVqNmJ1cRYeLrSHgP3nycr2RHTJob9OtM0v8ujuoKN0NY1a93J/omeTL1PA==
118
+
119
+esm@^3.0.84:
120
+  version "3.2.20"
121
+  resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.20.tgz#44f125117863427cdece7223baa411fc739c1939"
122
+  integrity sha512-NA92qDA8C/qGX/xMinDGa3+cSPs4wQoFxskRrSnDo/9UloifhONFm4sl4G+JsyCqM007z2K+BfQlH5rMta4K1Q==
123
+
124
+esprima@~1.0.4:
125
+  version "1.0.4"
126
+  resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.0.4.tgz#9f557e08fc3b4d26ece9dd34f8fbf476b62585ad"
127
+  integrity sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=
128
+
129
+expect.js@~0.2.0:
130
+  version "0.2.0"
131
+  resolved "https://registry.yarnpkg.com/expect.js/-/expect.js-0.2.0.tgz#1028533d2c1c363f74a6796ff57ec0520ded2be1"
132
+  integrity sha1-EChTPSwcNj90pnlv9X7AUg3tK+E=
133
+
17 134
 framework7@^4:
18 135
   version "4.2.0"
19 136
   resolved "https://registry.yarnpkg.com/framework7/-/framework7-4.2.0.tgz#a060b81b5b975735c9f295d09a8befed649ce6f5"
@@ -24,27 +141,281 @@ framework7@^4:
24 141
     ssr-window "^1.0.1"
25 142
     template7 "^1.4.1"
26 143
 
144
+geojson-vt@^3.2.1:
145
+  version "3.2.1"
146
+  resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7"
147
+  integrity sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==
148
+
149
+gl-matrix@^3.0.0:
150
+  version "3.0.0"
151
+  resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-3.0.0.tgz#888301ac7650e148c3865370e13ec66d08a8381f"
152
+  integrity sha512-PD4mVH/C/Zs64kOozeFnKY8ybhgwxXXQYGWdB4h68krAHknWJgk9uKOn6z8YElh5//vs++90pb6csrTIDWnexA==
153
+
154
+grid-index@^1.1.0:
155
+  version "1.1.0"
156
+  resolved "https://registry.yarnpkg.com/grid-index/-/grid-index-1.1.0.tgz#97f8221edec1026c8377b86446a7c71e79522ea7"
157
+  integrity sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==
158
+
159
+ieee754@^1.1.12:
160
+  version "1.1.13"
161
+  resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
162
+  integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==
163
+
164
+inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3:
165
+  version "2.0.3"
166
+  resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
167
+  integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
168
+
169
+isarray@0.0.1:
170
+  version "0.0.1"
171
+  resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
172
+  integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
173
+
174
+isarray@~1.0.0:
175
+  version "1.0.0"
176
+  resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
177
+  integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
178
+
27 179
 jquery@^3.3.1:
28 180
   version "3.3.1"
29 181
   resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"
30 182
   integrity sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==
31 183
 
184
+kdbush@^3.0.0:
185
+  version "3.0.0"
186
+  resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-3.0.0.tgz#f8484794d47004cc2d85ed3a79353dbe0abc2bf0"
187
+  integrity sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==
188
+
189
+leaflet@^1.4.0:
190
+  version "1.4.0"
191
+  resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.4.0.tgz#d5f56eeb2aa32787c24011e8be4c77e362ae171b"
192
+  integrity sha512-x9j9tGY1+PDLN9pcWTx9/y6C5nezoTMB8BLK5jTakx+H7bPlnbCHfi9Hjg+Qt36sgDz/cb9lrSpNQXmk45Tvhw==
193
+
194
+mapbox-gl-leaflet@^0.0.4:
195
+  version "0.0.4"
196
+  resolved "https://registry.yarnpkg.com/mapbox-gl-leaflet/-/mapbox-gl-leaflet-0.0.4.tgz#1b013215868ea541f29fe9e9d70481b898a13ea3"
197
+  integrity sha512-VVP6I9ykSIoQ9udUuyMSDIHIvzvcCVT81b6YUB9sEOTNSlBmX3Qo6E2dajWQa7VmJenDQbb5pzUQuETyiMa5Hw==
198
+
199
+mapbox-gl@^0.53.1:
200
+  version "0.53.1"
201
+  resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.53.1.tgz#08a956d8da54b04bc7f29ab1319bddb9c97ddedf"
202
+  integrity sha512-dTtW/qlkUowKGlqOhE8fqII2Tj4lcokvlZwUDLnkjy4uQ9zMFnVBULGeSzzTVkj9HtQZ3Zbey10/jmoVPV9t5w==
203
+  dependencies:
204
+    "@mapbox/geojson-rewind" "^0.4.0"
205
+    "@mapbox/geojson-types" "^1.0.2"
206
+    "@mapbox/jsonlint-lines-primitives" "^2.0.2"
207
+    "@mapbox/mapbox-gl-supported" "^1.4.0"
208
+    "@mapbox/point-geometry" "^0.1.0"
209
+    "@mapbox/tiny-sdf" "^1.1.0"
210
+    "@mapbox/unitbezier" "^0.0.0"
211
+    "@mapbox/vector-tile" "^1.3.1"
212
+    "@mapbox/whoots-js" "^3.1.0"
213
+    csscolorparser "~1.0.2"
214
+    earcut "^2.1.5"
215
+    esm "^3.0.84"
216
+    geojson-vt "^3.2.1"
217
+    gl-matrix "^3.0.0"
218
+    grid-index "^1.1.0"
219
+    minimist "0.0.8"
220
+    murmurhash-js "^1.0.0"
221
+    pbf "^3.0.5"
222
+    potpack "^1.0.1"
223
+    quickselect "^2.0.0"
224
+    rw "^1.3.3"
225
+    supercluster "^6.0.1"
226
+    tinyqueue "^2.0.0"
227
+    vt-pbf "^3.1.1"
228
+
229
+minimist@0.0.5:
230
+  version "0.0.5"
231
+  resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.5.tgz#d7aa327bcecf518f9106ac6b8f003fa3bcea8566"
232
+  integrity sha1-16oye87PUY+RBqxrjwA/o7zqhWY=
233
+
234
+minimist@0.0.8:
235
+  version "0.0.8"
236
+  resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
237
+  integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
238
+
239
+minimist@1.2.0:
240
+  version "1.2.0"
241
+  resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
242
+  integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
243
+
244
+murmurhash-js@^1.0.0:
245
+  version "1.0.0"
246
+  resolved "https://registry.yarnpkg.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51"
247
+  integrity sha1-sGJ44h/Gw3+lMTcysEEry2rhX1E=
248
+
32 249
 path-to-regexp@^3.0.0:
33 250
   version "3.0.0"
34 251
   resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.0.0.tgz#c981a218f3df543fa28696be2f88e0c58d2e012a"
35 252
   integrity sha512-ZOtfhPttCrqp2M1PBBH4X13XlvnfhIwD7yCLx+GoGoXRPQyxGOTdQMpIzPSPKXAJT/JQrdfFrgdJOyAzvgpQ9A==
36 253
 
254
+pbf@^3.0.5:
255
+  version "3.2.0"
256
+  resolved "https://registry.yarnpkg.com/pbf/-/pbf-3.2.0.tgz#e76f9f5114e395c25077ad6fe463b3507d6877fc"
257
+  integrity sha512-98Eh7rsJNJF/Im6XYMLaOW3cLnNyedlOd6hu3iWMD5I7FZGgpw8yN3vQBrmLbLodu7G784Irb9Qsv2yFrxSAGw==
258
+  dependencies:
259
+    ieee754 "^1.1.12"
260
+    resolve-protobuf-schema "^2.1.0"
261
+
262
+potpack@^1.0.1:
263
+  version "1.0.1"
264
+  resolved "https://registry.yarnpkg.com/potpack/-/potpack-1.0.1.tgz#d1b1afd89e4c8f7762865ec30bd112ab767e2ebf"
265
+  integrity sha512-15vItUAbViaYrmaB/Pbw7z6qX2xENbFSTA7Ii4tgbPtasxm5v6ryKhKtL91tpWovDJzTiZqdwzhcFBCwiMVdVw==
266
+
267
+process-nextick-args@~2.0.0:
268
+  version "2.0.0"
269
+  resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
270
+  integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==
271
+
272
+protocol-buffers-schema@^3.3.1:
273
+  version "3.3.2"
274
+  resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.3.2.tgz#00434f608b4e8df54c59e070efeefc37fb4bb859"
275
+  integrity sha512-Xdayp8sB/mU+sUV4G7ws8xtYMGdQnxbeIfLjyO9TZZRJdztBGhlmbI5x1qcY4TG5hBkIKGnc28i7nXxaugu88w==
276
+
37 277
 qrcode-generator@^1.4.3:
38 278
   version "1.4.3"
39 279
   resolved "https://registry.yarnpkg.com/qrcode-generator/-/qrcode-generator-1.4.3.tgz#4876e8f280e65b6c94615f4c19c484f6b964b199"
40 280
   integrity sha512-++rVRvMRq5BlHfmAafl8a4ppUntzUxCCUTT2t0siUgqKwdnqRzY8IH6f6WSX5dZUhD2Ul5/MIKuTJddflwrGzw==
41 281
 
282
+quickselect@^2.0.0:
283
+  version "2.0.0"
284
+  resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-2.0.0.tgz#f19680a486a5eefb581303e023e98faaf25dd018"
285
+  integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==
286
+
287
+readable-stream@^2.2.2:
288
+  version "2.3.6"
289
+  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
290
+  integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
291
+  dependencies:
292
+    core-util-is "~1.0.0"
293
+    inherits "~2.0.3"
294
+    isarray "~1.0.0"
295
+    process-nextick-args "~2.0.0"
296
+    safe-buffer "~5.1.1"
297
+    string_decoder "~1.1.1"
298
+    util-deprecate "~1.0.1"
299
+
300
+readable-stream@~1.1.0:
301
+  version "1.1.14"
302
+  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
303
+  integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk=
304
+  dependencies:
305
+    core-util-is "~1.0.0"
306
+    inherits "~2.0.1"
307
+    isarray "0.0.1"
308
+    string_decoder "~0.10.x"
309
+
310
+redeyed@~0.4.0:
311
+  version "0.4.4"
312
+  resolved "https://registry.yarnpkg.com/redeyed/-/redeyed-0.4.4.tgz#37e990a6f2b21b2a11c2e6a48fd4135698cba97f"
313
+  integrity sha1-N+mQpvKyGyoRwuakj9QTVpjLqX8=
314
+  dependencies:
315
+    esprima "~1.0.4"
316
+
317
+resolve-protobuf-schema@^2.1.0:
318
+  version "2.1.0"
319
+  resolved "https://registry.yarnpkg.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758"
320
+  integrity sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==
321
+  dependencies:
322
+    protocol-buffers-schema "^3.3.1"
323
+
324
+rw@^1.3.3:
325
+  version "1.3.3"
326
+  resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
327
+  integrity sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=
328
+
329
+safe-buffer@~5.1.0, safe-buffer@~5.1.1:
330
+  version "5.1.2"
331
+  resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
332
+  integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
333
+
334
+sharkdown@^0.1.0:
335
+  version "0.1.0"
336
+  resolved "https://registry.yarnpkg.com/sharkdown/-/sharkdown-0.1.0.tgz#61d4fe529e75d02442127cc9234362265099214f"
337
+  integrity sha1-YdT+Up510CRCEnzJI0NiJlCZIU8=
338
+  dependencies:
339
+    cardinal "~0.4.2"
340
+    expect.js "~0.2.0"
341
+    minimist "0.0.5"
342
+    split "~0.2.10"
343
+    stream-spigot "~2.1.2"
344
+    through "~2.3.4"
345
+
346
+split@~0.2.10:
347
+  version "0.2.10"
348
+  resolved "https://registry.yarnpkg.com/split/-/split-0.2.10.tgz#67097c601d697ce1368f418f06cd201cf0521a57"
349
+  integrity sha1-Zwl8YB1pfOE2j0GPBs0gHPBSGlc=
350
+  dependencies:
351
+    through "2"
352
+
42 353
 ssr-window@^1.0.1:
43 354
   version "1.0.1"
44 355
   resolved "https://registry.yarnpkg.com/ssr-window/-/ssr-window-1.0.1.tgz#30752a6a4666e7767f0b7e6aa6fc2fdbd0d9b369"
45 356
   integrity sha512-dgFqB+f00LJTEgb6UXhx0h+SrG50LJvti2yMKMqAgzfUmUXZrLSv2fjULF7AWGwK25EXu8+smLR3jYsJQChPsg==
46 357
 
358
+stream-spigot@~2.1.2:
359
+  version "2.1.2"
360
+  resolved "https://registry.yarnpkg.com/stream-spigot/-/stream-spigot-2.1.2.tgz#7de145e819f8dd0db45090d13dcf73a8ed3cc035"
361
+  integrity sha1-feFF6Bn43Q20UJDRPc9zqO08wDU=
362
+  dependencies:
363
+    readable-stream "~1.1.0"
364
+
365
+string_decoder@~0.10.x:
366
+  version "0.10.31"
367
+  resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
368
+  integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
369
+
370
+string_decoder@~1.1.1:
371
+  version "1.1.1"
372
+  resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
373
+  integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==
374
+  dependencies:
375
+    safe-buffer "~5.1.0"
376
+
377
+supercluster@^6.0.1:
378
+  version "6.0.1"
379
+  resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-6.0.1.tgz#4c0177d96daa195d58a5bad9f55dbf12fb727a4c"
380
+  integrity sha512-NTth/FBFUt9mwW03+Z6Byscex+UHu0utroIe6uXjGu9PrTuWtW70LYv9I1vPSYYIHQL74S5zAkrXrHEk0L7dGA==
381
+  dependencies:
382
+    kdbush "^3.0.0"
383
+
47 384
 template7@^1.4.1:
48 385
   version "1.4.1"
49 386
   resolved "https://registry.yarnpkg.com/template7/-/template7-1.4.1.tgz#c3b2b03d6879e1c5f8a79067c961c8896ffaeec6"
50 387
   integrity sha512-sYZ9Wl5kFuNSvLcMPq8z4oenG7rDho6KnB2vWyvMJCdI1guJhxTEU0TCwr6Nd1Jx34kSOmrpJakMGxJgCc55yg==
388
+
389
+through@2, through@~2.3.4:
390
+  version "2.3.8"
391
+  resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
392
+  integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
393
+
394
+tinyqueue@^2.0.0:
395
+  version "2.0.0"
396
+  resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.0.tgz#8c40ceddd977bf133ffb35e903e0abe99d9d4e97"
397
+  integrity sha512-CuwAcoAyhS73YgUpTVWI6t/t2mo9zfqbxTbnu4B1U6QPPhq3mxMxywSbo3cWykan4cBkXBfE8F7qulYrNcsHyQ==
398
+
399
+typedarray@^0.0.6:
400
+  version "0.0.6"
401
+  resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
402
+  integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
403
+
404
+util-deprecate@~1.0.1:
405
+  version "1.0.2"
406
+  resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
407
+  integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
408
+
409
+vt-pbf@^3.1.1:
410
+  version "3.1.1"
411
+  resolved "https://registry.yarnpkg.com/vt-pbf/-/vt-pbf-3.1.1.tgz#b0f627e39a10ce91d943b898ed2363d21899fb82"
412
+  integrity sha512-pHjWdrIoxurpmTcbfBWXaPwSmtPAHS105253P1qyEfSTV2HJddqjM+kIHquaT/L6lVJIk9ltTGc0IxR/G47hYA==
413
+  dependencies:
414
+    "@mapbox/point-geometry" "0.1.0"
415
+    "@mapbox/vector-tile" "^1.3.1"
416
+    pbf "^3.0.5"
417
+
418
+wgs84@0.0.0:
419
+  version "0.0.0"
420
+  resolved "https://registry.yarnpkg.com/wgs84/-/wgs84-0.0.0.tgz#34fdc555917b6e57cf2a282ed043710c049cdc76"
421
+  integrity sha1-NP3FVZF7blfPKigu0ENxDASc3HY=

Loading…
Cancel
Save