Skip to content

Commit

Permalink
change variables to something that makes more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 8, 2023
1 parent 00874c0 commit 2b5cd22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="hello">
<div>
<button @click="toggleFlag" class="toggleButton">{{ buttonText }}</button>
</div>
</template>
Expand All @@ -8,7 +8,7 @@
import { EventBus } from '../event-bus'
export default {
name: 'UsrMsg',
name: 'leftBuildingMenu',
data () {
return {
flag: true,
Expand Down
7 changes: 3 additions & 4 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<div class="mapContainer" ref="mapContainer" v-loading="!mapLoaded">
<l-map style="height: 100%; width: 100%" :zoom="zoom" :center="center" ref="map">
<button class="resetMapButton" @click="resetMap()">Reset Map</button>
<UsrMsg class="hideMenuButton" />
<leftBuildingMenu class="hideMenuButton" />
<l-tile-layer :url="url" :attribution="attribution"></l-tile-layer>
<l-geo-json
v-for="building of this.$store.getters['map/buildings']"
Expand All @@ -81,7 +81,7 @@ import compareSide from '@/components/map/map_compareside'
import L from 'leaflet'
import switchButtons from '@/components/map/switch_buttons'
import { EventBus } from '../../event-bus'
import UsrMsg from '@/components/UsrMsg'
import leftBuildingMenu from '@/components/leftBuildingMenu'
export default {
name: 'featured',
Expand All @@ -98,7 +98,7 @@ export default {
prompt,
compareSide,
switchButtons,
UsrMsg
leftBuildingMenu
},
computed: {
showSide: {
Expand Down Expand Up @@ -362,7 +362,6 @@ export default {
this.message = window.innerWidth > 844
EventBus.$on( 'inputData', inputWord => {
this.message = inputWord
console.log( this.message )
} )
this.map.zoomControl.setPosition( 'topleft' )
},
Expand Down

0 comments on commit 2b5cd22

Please sign in to comment.