diff --git a/src/core/services/google-maps-api-wrapper.ts b/src/core/services/google-maps-api-wrapper.ts index a3d5167f6..f7e53ebac 100644 --- a/src/core/services/google-maps-api-wrapper.ts +++ b/src/core/services/google-maps-api-wrapper.ts @@ -71,7 +71,10 @@ export class GoogleMapsAPIWrapper { return this._map.then((map: mapTypes.GoogleMap) => map.getCenter()); } - getMap(): Promise { return this._map; } + /** + * Returns the native Google Maps Map instance. Be careful when using this instance directly. + */ + getNativeMap(): Promise { return this._map; } /** * Triggers the given event name on the map instance.