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): add google-map component #16623

Merged
merged 9 commits into from
Aug 8, 2019
Merged

Conversation

mbehrlich
Copy link
Collaborator

Add initial infrastructure for angular/google-maps,
a skeleton for the google-map component, and a demo
for the google map component

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 26, 2019
@Splaktar Splaktar self-requested a review July 30, 2019 01:18
@Splaktar Splaktar added new component This issue is tracking a new component to be added to the library G This is is related to a Google internal issue labels Jul 31, 2019
@jelbourn
Copy link
Member

jelbourn commented Aug 1, 2019

Also, sorry for all the merge conflicts; I just merged the youtube-player


this._mapEl$.pipe(take(1)).subscribe(mapElRef => {
const mapEl = mapElRef.nativeElement;
mapEl.style.height = this.height;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this.height applied to the map only once at onInit?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Currently, yes. I think it's a good idea to make it capable of being resized, but I'd like to add that functionality, along with that of the other required inputs, in a future pull request.

Add initial infrastructure for angular/google-maps,
a skeleton for the google-map component, and a demo
for the google map component
Fix lint issues. Fix overviews bazel rule typo.
Fix commas in tsconfig files
Add @angular/google-maps/google-map path to tsconfig-build.json
Fix incorrect dev-app path for google-maps
Change default location to Colossem, change map element
view child to not be a stream. Minor style changes.
Change default map location to Googleplex. Remove ViewChild from
google-map component.
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Aug 1, 2019
Clean up the demo component with better variable names and remove
extraneous code.
Copy link
Member

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn merged commit 6416bab into angular:master Aug 8, 2019
@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 Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement G This is is related to a Google internal issue new component This issue is tracking a new component to be added to the library target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants