Skip to content

Commit

Permalink
refactor(GoogleMapsAPIWrapper): rename getMap method
Browse files Browse the repository at this point in the history
BREAKING CHANGES
`getMap()` is now called `getNativeMap()`.

Closes #407
  • Loading branch information
sebholstein committed Jun 8, 2016
1 parent 8efa96d commit f2084dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/services/google-maps-api-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ export class GoogleMapsAPIWrapper {
return this._map.then((map: mapTypes.GoogleMap) => map.getCenter());
}

getMap(): Promise<mapTypes.GoogleMap> { return this._map; }
/**
* Returns the native Google Maps Map instance. Be careful when using this instance directly.
*/
getNativeMap(): Promise<mapTypes.GoogleMap> { return this._map; }

/**
* Triggers the given event name on the map instance.
Expand Down

0 comments on commit f2084dd

Please sign in to comment.