lat/lng string->number

This commit is contained in:
Guille 2016-06-03 11:31:54 +02:00
parent a250bd3e81
commit 02a658321a

View File

@ -989,7 +989,7 @@ export class GoogleMapsKmlOverlay {
export class GoogleMapsLatLng { export class GoogleMapsLatLng {
private _objectInstance: any; private _objectInstance: any;
constructor(public lat: string, public lng: string) { constructor(public lat: number, public lng: number) {
this._objectInstance = new plugin.google.maps.LatLng(lat, lng); this._objectInstance = new plugin.google.maps.LatLng(lat, lng);
} }