Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fdq09eca committed Nov 15, 2023
1 parent 5dc193f commit 902092f
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
Empty file added demo/.env
Empty file.
1 change: 0 additions & 1 deletion demo/src/.env

This file was deleted.

2 changes: 0 additions & 2 deletions demo/src/components/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default {
props: { mapObject: Object },
mounted() {
console.info("Logo.vue::mounted()");
console.info("this.mapObject: ", this.mapObject);
this.mapObject?.view.ui.add(this.$el, "bottom-right");
},
};
Expand Down
1 change: 0 additions & 1 deletion demo/src/components/LonLatBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default {
},
mounted() {
console.log("LonLatBox.vue::mounted()");
const view = this.mapObject.view;
view.ui.add(this.$el, "top-right");
Expand Down
2 changes: 1 addition & 1 deletion demo/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createPinia, PiniaVuePlugin } from "pinia";
import VueCompositionApi from "@vue/composition-api";
import esriConfig from "@arcgis/core/config.js";

esriConfig.apiKey = import.meta.env.VITE_ESRIJS_API_KEY;
esriConfig.apiKey = import.meta.env.VITE_ESRI_API_KEY;

Vue.use(VueCompositionApi);
Vue.use(PiniaVuePlugin);
Expand Down
3 changes: 1 addition & 2 deletions demo/src/stores/MapStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const useMapStore = defineStore("mapStore", {
const mapObj = { id: id, map: map, view: view };

this.mapObjects.push(mapObj);
console.log("mapObjects lenght: ", this.mapObjects.length);
return mapObj;
},

Expand All @@ -56,7 +55,7 @@ export const useMapStore = defineStore("mapStore", {
},

doSomething() {
console.log("mapStore::doSomething");
// console.log("mapStore::doSomething");
},
},
});

0 comments on commit 902092f

Please sign in to comment.