mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
lat/lng string->number
This commit is contained in:
parent
a250bd3e81
commit
02a658321a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user