Angular-google-maps: Missing methods from GoogleMap interface

Created on 3 Dec 2019  路  3Comments  路  Source: SebastianM/angular-google-maps

Issue description
There are some missing methods in GoogleMap interface, that should be available according to https://developers.google.com/maps/documentation/javascript/reference/map

Missing methods:

  • getClickableIcons(): boolean
  • getDiv(): Element
  • getHeading(): number
  • getProjection(): Projection
  • getStreetView(): StreetViewPanorama
  • getTilt(): number
  • setClickableIcons(value: boolean): void
  • setHeading(heading: number): void
  • setMapTypeId(mapTypeId: MapTypeId | string): void
  • setStreetView(panorama: StreetViewPanorama): void
  • setTilt(tilt: number): void

Current behavior
Some of methods are missing

Expected/desired behavior
All methods should be included in GoogleMap interface according to Google documentation.

Other information
I am using getDiv() method and it is working correctly, but I got type errors.

nice to have bug

All 3 comments

Acknowledged. Fixed by #1648 Also can be worked around by casting to any.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fixed by #1833

Was this page helpful?
0 / 5 - 0 ratings

Related issues

n1t3w0lf picture n1t3w0lf  路  3Comments

gizm0bill picture gizm0bill  路  4Comments

supran2811 picture supran2811  路  4Comments

matishw picture matishw  路  3Comments

DeveloperAdd007 picture DeveloperAdd007  路  3Comments