Skip to content

Commit

Permalink
feat(GoogleMapsAPIWrapper): expose map instance
Browse files Browse the repository at this point in the history
Closes #161
  • Loading branch information
parmod-arora authored and sebholstein committed Feb 29, 2016
1 parent 728c45a commit 69e3c0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/google-maps-api-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ export class GoogleMapsAPIWrapper {
getCenter(): Promise<mapTypes.LatLng> {
return this._map.then((map: mapTypes.GoogleMap) => map.getCenter());
}

getMap(): Promise<mapTypes.GoogleMap> { return this._map; }
}

0 comments on commit 69e3c0e

Please sign in to comment.