diff --git a/package.json b/package.json index da54369..d29361e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ }, "dependencies": { "core-js": "^3.8.3", - "vue": "^2.6.14" + "leaflet": "^1.8.0", + "vue": "^2.6.14", + "vue2-leaflet": "^2.7.1" }, "devDependencies": { "@babel/core": "^7.12.16", diff --git a/src/App.vue b/src/App.vue index 26db910..a688dce 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,48 @@ diff --git a/src/components/SearchResult.vue b/src/components/SearchResult.vue new file mode 100644 index 0000000..11d21f7 --- /dev/null +++ b/src/components/SearchResult.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/src/main.js b/src/main.js index 74f1ec5..7213ea2 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,8 @@ import Vue from "vue"; import App from "./App.vue"; +import "leaflet/dist/leaflet.css"; + Vue.config.productionTip = false; new Vue({ diff --git a/yarn.lock b/yarn.lock index b2e469e..80b1810 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3839,6 +3839,11 @@ launch-editor@^2.2.1, launch-editor@^2.6.0: picocolors "^1.0.0" shell-quote "^1.7.3" +leaflet@^1.8.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.8.0.tgz#4615db4a22a304e8e692cae9270b983b38a2055e" + integrity sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA== + levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -5746,6 +5751,11 @@ vue-template-es2015-compiler@^1.9.0: resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== +vue2-leaflet@^2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/vue2-leaflet/-/vue2-leaflet-2.7.1.tgz#2f95c287621bf778f10804c88223877f5c049257" + integrity sha512-K7HOlzRhjt3Z7+IvTqEavIBRbmCwSZSCVUlz9u4Rc+3xGCLsHKz4TAL4diAmfHElCQdPPVdZdJk8wPUt2fu6WQ== + vue@^2.6.14: version "2.7.10" resolved "https://registry.yarnpkg.com/vue/-/vue-2.7.10.tgz#ae516cc6c88e1c424754468844218fdd5e280f40"