angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Missing methods from GoogleMap interface

Open PeterSisovsky opened this issue 7 years ago • 3 comments

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.

PeterSisovsky avatar Dec 03 '19 16:12 PeterSisovsky

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

ghost avatar Dec 04 '19 08:12 ghost

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.

stale[bot] avatar Mar 03 '20 09:03 stale[bot]

fixed by #1833

ghost avatar Jul 03 '20 15:07 ghost