diff --git a/src/components/leaflet/WisMap.vue b/src/components/leaflet/WisMap.vue index 1646d4c..f6d18a8 100644 --- a/src/components/leaflet/WisMap.vue +++ b/src/components/leaflet/WisMap.vue @@ -150,6 +150,13 @@ export default defineComponent({ .then(function () { var bounds_ = geoJSON(self.features_.stations).getBounds(); self.map.fitBounds(bounds_); + }) + .catch(function () { + self.$root.catch(` +

${self.$t("messages.does_not_exist")}

+

${self.$t("messages.how_to_link_station")}

`); + }) + .then(function () { self.loading = false; setTimeout(self.loadStations, 900000); });