Browse Source

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 years ago
parent
commit
5f16b0c582

+ 0
- 8
frontEnd/src/pages/googleMap/googleMap.html View File

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

+ 0
- 3
frontEnd/src/pages/main-menu/main-menu.scss View File

1
-page-main-menu {
2
-
3
-}

+ 2
- 1
frontEnd/src/pages/main-menu/main-menu.ts View File

3
 import { GoogleMapComponent } from '../../components/google-map/google-map';
3
 import { GoogleMapComponent } from '../../components/google-map/google-map';
4
 import { TrailsPage } from '../trails/trails';
4
 import { TrailsPage } from '../trails/trails';
5
 import { Geolocation } from '@ionic-native/geolocation'
5
 import { Geolocation } from '@ionic-native/geolocation'
6
+import { GoogleMapPage } from '../googleMap/googleMap';
6
 
7
 
7
 
8
 
8
 
9
 
21
   }
22
   }
22
 
23
 
23
   goToMap() {
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 View File

1
-page-trails {
2
-
3
-}