diff --git a/labswp_2019_sose_geocaching_frontend/frontend/package.json b/labswp_2019_sose_geocaching_frontend/frontend/package.json index 0657383..f262cce 100644 --- a/labswp_2019_sose_geocaching_frontend/frontend/package.json +++ b/labswp_2019_sose_geocaching_frontend/frontend/package.json @@ -19,7 +19,9 @@ "openlayers": "^4.6.5", "quasar": "^1.0.0-rc.2", "vue-qrcode-reader": "^1.4.2", - "vuelayers": "^0.11.4" + "vuelayers": "^0.11.4", + "lodash": "^4.17.11", + "ol": "^5.3.1" }, "devDependencies": { "@quasar/app": "^1.0.0-rc.4", diff --git a/labswp_2019_sose_geocaching_frontend/frontend/src/components/mapClickable.vue b/labswp_2019_sose_geocaching_frontend/frontend/src/components/mapClickable.vue new file mode 100644 index 0000000..9687ea3 --- /dev/null +++ b/labswp_2019_sose_geocaching_frontend/frontend/src/components/mapClickable.vue @@ -0,0 +1,408 @@ + + + + + diff --git a/labswp_2019_sose_geocaching_frontend/frontend/src/pages/Cache.vue b/labswp_2019_sose_geocaching_frontend/frontend/src/pages/Cache.vue index e3784e1..edb0978 100644 --- a/labswp_2019_sose_geocaching_frontend/frontend/src/pages/Cache.vue +++ b/labswp_2019_sose_geocaching_frontend/frontend/src/pages/Cache.vue @@ -251,8 +251,8 @@ } }, validateRankingPoints: function () { - var re = new RegExp('^[0-9]+$'); - var rps = String.valueOf(this.computedCache.rankingPoints); + let re = new RegExp('^[0-9]+$'); + let rps = String(this.computedCache.rankingPoints); return re.test(rps); }, validateEverything(){ diff --git a/labswp_2019_sose_geocaching_frontend/frontend/src/pages/StationEdit.vue b/labswp_2019_sose_geocaching_frontend/frontend/src/pages/StationEdit.vue index 1de5ced..d9a004d 100644 --- a/labswp_2019_sose_geocaching_frontend/frontend/src/pages/StationEdit.vue +++ b/labswp_2019_sose_geocaching_frontend/frontend/src/pages/StationEdit.vue @@ -15,25 +15,32 @@

Location

- - + - - - + + + + - - - - + + + + + + + + + + + +
+ +
@@ -51,10 +58,11 @@