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

SteveDowsett picture SteveDowsett  ·  23Comments

carl09 picture carl09  ·  35Comments

jscti picture jscti  ·  22Comments

Carbo20 picture Carbo20  ·  25Comments

ramnes picture ramnes  ·  54Comments