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

feat(google-maps): Getting google.maps.Map instance #23703

Open
piernik opened this issue Oct 7, 2021 · 0 comments
Open

feat(google-maps): Getting google.maps.Map instance #23703

piernik opened this issue Oct 7, 2021 · 0 comments

Comments

Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
@piernik
Copy link

@piernik piernik commented Oct 7, 2021

Feature Description

Getting google.maps.Map instance with ViewChild is over complicated and You have to use setTimeout to wait for map init. Maybe introducing (mapReady) with instance as $event ?

Use Case

I need it to manipulate mapTypes

umernaeem217 added a commit to umernaeem217/components that referenced this issue Oct 17, 2021
Add a Map Ready event which emits Map instance.

For angular#23703
umernaeem217 added a commit to umernaeem217/components that referenced this issue Oct 21, 2021
Added mapReady event which is emitted when the map is ready and returns the map instance.

For angular#23703
umernaeem217 added a commit to umernaeem217/components that referenced this issue Oct 26, 2021
Added test for the mapInitalized event. Renamed the event from mapReady to mapInitalized. Made the comment of the event normalized.

For angular#23703
umernaeem217 added a commit to umernaeem217/components that referenced this issue Oct 26, 2021
Added mapInitialized event which is emitted when the map is initialized and returns the map instance.

For angular#23703
umernaeem217 added a commit to umernaeem217/components that referenced this issue Oct 28, 2021
Added mapInitialized event which is emitted when the map is initialized and returns the map instance.

For angular#23703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment