@@ -33,15 +33,6 @@ interface GoogleMapsWindow extends Window {
3333 google ?: typeof google ;
3434}
3535
36- // TODO(mbehrlich): Update this to use original map after updating DefinitelyTyped
37- /**
38- * Extends the Google Map interface due to the Definitely Typed implementation
39- * missing "getClickableIcons".
40- */
41- export interface UpdatedGoogleMap extends google . maps . Map {
42- getClickableIcons : ( ) => boolean ;
43- }
44-
4536/** default options set to the Googleplex */
4637export const DEFAULT_OPTIONS : google . maps . MapOptions = {
4738 center : { lat : 37.421995 , lng : - 122.084092 } ,
@@ -75,7 +66,7 @@ export class GoogleMap implements OnChanges, OnInit, OnDestroy {
7566 private readonly _zoom = new BehaviorSubject < number | undefined > ( undefined ) ;
7667 private readonly _destroy = new Subject < void > ( ) ;
7768 private _mapEl : HTMLElement ;
78- _googleMap : UpdatedGoogleMap ;
69+ _googleMap : google . maps . Map ;
7970
8071 /** Whether we're currently rendering inside a browser. */
8172 _isBrowser : boolean ;
@@ -270,7 +261,7 @@ export class GoogleMap implements OnChanges, OnInit, OnDestroy {
270261 this . _setSize ( ) ;
271262 this . _googleMapChanges = this . _initializeMap ( this . _combineOptions ( ) ) ;
272263 this . _googleMapChanges . subscribe ( ( googleMap : google . maps . Map ) => {
273- this . _googleMap = googleMap as UpdatedGoogleMap ;
264+ this . _googleMap = googleMap ;
274265 this . _eventManager . setTarget ( this . _googleMap ) ;
275266 } ) ;
276267
0 commit comments