From 69e3c0ef38ec9f97c3d12aab0aae91d4b493f9bb Mon Sep 17 00:00:00 2001 From: Parmod Date: Thu, 25 Feb 2016 12:06:59 +0530 Subject: [PATCH] feat(GoogleMapsAPIWrapper): expose map instance Closes #161 --- src/services/google-maps-api-wrapper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/google-maps-api-wrapper.ts b/src/services/google-maps-api-wrapper.ts index d66c63632..31cf63a84 100644 --- a/src/services/google-maps-api-wrapper.ts +++ b/src/services/google-maps-api-wrapper.ts @@ -66,4 +66,6 @@ export class GoogleMapsAPIWrapper { getCenter(): Promise { return this._map.then((map: mapTypes.GoogleMap) => map.getCenter()); } + + getMap(): Promise { return this._map; } }