The new Angular Component pearl-lullaby (v9.0.0-rc.0) introduces the second official @angular/component component, a Google Maps component.
In this...
For further actions, you may consider blocking this person and/or reporting abuse
What's the main difference between this and AGM?
I'm not very familiar with AGM.
Seems like they provide similar features, but with a slightly different API.
AGM also seems to have some extra libs to draw on the map - angular-maps.com/api-docs/.
Looking into the feature, I would guess that the official component will follow the Angular upgrade paths - whereas for AGM it might take some time to follow the Angular upgrades.
Awesome response number 2!! :) Yeah, AGM hasn't been updated in a year I believe
According to the @agm/core npm page, AGM came out of beta 2 months ago. So seems at least kind of active.
winning
Great post... Anyways, Is Google Map available in React.js too?
I'm not following React as I am Angular, but AFAIK there is no "official react" google map component. I'm sure there's a 3rd party module that has a google map component tho, and if that's not the case you could write a wrapper around the google map api.
The API it is
Tim... how would we incorporate a proxy to address CORS Restrictions?
The ViewChild in the code after "As an example, we can log the current center of the map." seems to be the wrong one :)
Besides that: A very helpful article!