瀏覽代碼

Reworked googleMap page to utilize the map component instead of pointing the page to the component itself. Fixed few empty ruleset errors in some scss files.

Kris Blassingame 6 年之前
父節點
當前提交
5f16b0c582

+ 0
- 8
frontEnd/src/pages/googleMap/googleMap.html 查看文件

@@ -1,11 +1,3 @@
1
-<ion-header>
2
-  <ion-navbar>
3
-    <ion-title>
4
-      Map
5
-    </ion-title>
6
-  </ion-navbar>
7
-</ion-header>
8
-
9 1
 <ion-content>
10 2
   <google-map></google-map>
11 3
 </ion-content>

+ 0
- 3
frontEnd/src/pages/main-menu/main-menu.scss 查看文件

@@ -1,3 +0,0 @@
1
-page-main-menu {
2
-
3
-}

+ 2
- 1
frontEnd/src/pages/main-menu/main-menu.ts 查看文件

@@ -3,6 +3,7 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 3
 import { GoogleMapComponent } from '../../components/google-map/google-map';
4 4
 import { TrailsPage } from '../trails/trails';
5 5
 import { Geolocation } from '@ionic-native/geolocation'
6
+import { GoogleMapPage } from '../googleMap/googleMap';
6 7
 
7 8
 
8 9
 
@@ -21,7 +22,7 @@ export class MainMenuPage {
21 22
   }
22 23
 
23 24
   goToMap() {
24
-    this.navCtrl.push(GoogleMapComponent);
25
+    this.navCtrl.push(GoogleMapPage);
25 26
   }
26 27
 
27 28
 

+ 0
- 3
frontEnd/src/pages/trails/trails.scss 查看文件

@@ -1,3 +0,0 @@
1
-page-trails {
2
-
3
-}