We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779a92f commit ce61062Copy full SHA for ce61062
components/Map.vue
@@ -203,21 +203,6 @@ export default {
203
};
204
},
205
async mounted() {
206
- if (localStorage.center) {
207
- this.myCoordinates = JSON.parse(localStorage.center);
208
- } else {
209
- // get user's coordinates from browser request
210
- this.$getLocation({})
211
- .then(coordinates => {
212
- this.myCoordinates = coordinates;
213
- })
214
- .catch(error => console.log(error));
215
- }
216
-
217
- // does the user have a saved zoom? use it instead of the default
218
- if (localStorage.zoom) {
219
- this.zoom = parseInt(localStorage.zoom);
220
221
let ref = this;
222
223
// add the map to a data object
0 commit comments