Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing methods from GoogleMap interface #1780

Closed
PeterSisovsky opened this issue Dec 3, 2019 · 3 comments
Closed

Missing methods from GoogleMap interface #1780

PeterSisovsky opened this issue Dec 3, 2019 · 3 comments

Comments

@PeterSisovsky
Copy link

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.

@ghost
Copy link

ghost commented Dec 4, 2019

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

@stale
Copy link

stale bot commented Mar 3, 2020

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 stale bot added the stale label Mar 3, 2020
@stale stale bot closed this as completed Mar 10, 2020
@ghost ghost reopened this Jun 2, 2020
@stale stale bot removed the stale label Jun 2, 2020
@ghost
Copy link

ghost commented Jul 3, 2020

fixed by #1833

@ghost ghost closed this as completed Jul 3, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant