Skip to content

Commit

Permalink
[chore] build version 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
msdio committed Oct 30, 2022
1 parent 5d6809d commit 82bd6e1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ export class AddBathroomComponent implements OnInit {
await alert.present();
}

async getAddressWithLatLng(lat: number, lng: number) {
async getAddressWithLatLng(lat: number, lng: number) {
const response = await this.bathroomService.getAddressName(
lat,
lng,
);

if(response.status === 200) {
this.fetchBathroomAddress(response.data);
if(response.data.code === 1000) {
this.fetchBathroomAddress(response.data.result);
} else {
this.failToGetBathroomAddress();
}
Expand Down
6 changes: 6 additions & 0 deletions src/frontend/odongdong/src/app/tabs/main-tab/main.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ export class MainPage implements OnInit {
}

async showAddBathroomModal(lat: number, lng: number) {
const cameraMov = this.getCameraMovement(this.map.getLevel());
const movedLocation = new kakao.maps.LatLng(lat-cameraMov-0.001, lng);
this.map.panTo(movedLocation);

const modal = await this.modalController.create({
component: AddBathroomComponent,
cssClass: 'add-bathroom-compo',
Expand Down Expand Up @@ -436,11 +440,13 @@ export class MainPage implements OnInit {
}

zoomIn() {
this.mapLevel = this.map.getLevel();
this.mapLevel -= 1;
this.map.setLevel(this.mapLevel, {animate: true});
}

zoomOut() {
this.mapLevel = this.map.getLevel();
this.mapLevel += 1;
this.map.setLevel(this.mapLevel, {animate: true});
}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/odongdong/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class Constants {
static APP_VERSION = "1.1.1";
static APP_VERSION = "1.1.2";

}
4 changes: 2 additions & 2 deletions src/frontend/odongdong/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const environment = {
production: true,
appVersion: {
name: '1.1.1',
name: '1.1.2',
major: 1,
minor: 1,
build: 1,
build: 2,
},

// apiUrl: 'http://localhost:9003',
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/odongdong/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
export const environment = {
production: false,
appVersion: {
name: '1.1.1',
name: '1.1.2',
major: 1,
minor: 1,
build: 1,
build: 2,
},

// apiUrl: 'http://localhost:9003',
Expand Down

0 comments on commit 82bd6e1

Please sign in to comment.