From 02a658321a4c061bb47dbf31c477b6e587389273 Mon Sep 17 00:00:00 2001 From: Guille <darkwilly92@gmail.com> Date: Fri, 3 Jun 2016 11:31:54 +0200 Subject: [PATCH] lat/lng string->number --- src/plugins/googlemaps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index 63e62d79d..ac8a990eb 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -989,7 +989,7 @@ export class GoogleMapsKmlOverlay { export class GoogleMapsLatLng { 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); }