Skip to content

Commit 7cad597

Browse files
committed
code cleanup
1 parent 24c301e commit 7cad597

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

ionic.config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "ionic3-map-address-autocomplete",
3-
"app_id": "",
4-
"type": "ionic-angular",
53
"integrations": {
64
"cordova": {}
7-
}
8-
}
5+
},
6+
"type": "ionic-angular",
7+
"pro_id": "0af443eb"
8+
}

src/pages/map/map.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export class MapPage {
119119
this.spinner.load();
120120
this.geolocation.getCurrentPosition().then((position) => {
121121
let latLng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
122+
console.log(latLng)
122123
let latLngObj = {'lat': position.coords.latitude, 'long': position.coords.longitude};
123124
// Display Marker
124125
this.map.setCenter(new google.maps.LatLng(position.coords.latitude, position.coords.longitude));

src/providers/map/map.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Injectable } from '@angular/core';
2-
import { Http, Headers, RequestOptions } from '@angular/http';
2+
// import { Http, Headers, RequestOptions } from '@angular/http';
3+
import { Http, Headers } from '@angular/http';
34
import 'rxjs/add/operator/map';
45

56
/*

0 commit comments

Comments
 (0)