Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 69e3c0e

Browse files
parmod-arorasebholstein
authored andcommitted
feat(GoogleMapsAPIWrapper): expose map instance
Closes #161
1 parent 728c45a commit 69e3c0e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/services/google-maps-api-wrapper.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ export class GoogleMapsAPIWrapper {
6666
getCenter(): Promise<mapTypes.LatLng> {
6767
return this._map.then((map: mapTypes.GoogleMap) => map.getCenter());
6868
}
69+
70+
getMap(): Promise<mapTypes.GoogleMap> { return this._map; }
6971
}

0 commit comments

Comments
 (0)