Skip to content

Conversation

@rbalet
Copy link

@rbalet rbalet commented Nov 4, 2022

Being able to change the zoom of the map with setZoom()

Being able to change the zoom of the map with setZoom()
@rbalet rbalet requested a review from crisbeto as a code owner November 4, 2022 14:02
@rbalet rbalet mentioned this pull request Nov 4, 2022
1 task
* https://developers.google.com/maps/documentation/javascript/reference/map#Map.setZoom
*/
setZoom(zoom: number): number {
this.googleMap.setZoom(zoom);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this._assertInitialized(); must be called before.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bastienlemaitre Thx, but not sur I understand.

Should I or will you make that changes ?

@rbalet rbalet closed this by deleting the head repository Oct 6, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 6, 2023
mdemichele added a commit to mdemichele/components that referenced this pull request Dec 11, 2023
Exposes the setZoom() method made available by  the underlying Google Maps API.

Fixes angular#25927
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants