Skip to content

Add WebglOverlayVeiw to google-map #23626

@AyalaBarzilay

Description

@AyalaBarzilay

Feature Description

Google lately released WebglOverlayVeiw feature and i would like to use in in my angular app.

I am trying to add it to my angular app and getting the following error:
"error TS2339: Property 'WebglOverlayView' does not exist on type 'typeof maps'."

Activity

added
featureThis issue represents a new feature or feature request rather than a bug or bug fix
needs triageThis issue needs to be triaged by the team
on Sep 23, 2021
crisbeto

crisbeto commented on Sep 28, 2021

@crisbeto
Member

Sounds reasonable, but it'll have to wait for #23350.

added
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triageThis issue needs to be triaged by the team
on Sep 28, 2021
umernaeem217

umernaeem217 commented on Oct 29, 2021

@umernaeem217
Contributor

@crisbeto I need your suggestion for implementing the Lifecycle hooks. Is It okay if I create separate event emitters for these lifecycle hooks and then on the constructor when the WebglOverlayView object is created bind the method with that object and trigger the event in the execution of those methods?

@Output() readonly overlayAdded: EventEmitter<void> = new EventEmitter<void>();

ngOnInit() {
  this._ngZone.runOutsideAngular(() => {
        this.webglOverlayView = new google.maps.WebglOverlayView();;
      });
 this.webglOverlayView.onAdd = () => {
    this.overlayAdded.emit();
  }
}
angular-robot

angular-robot commented on Mar 13, 2022

@angular-robot
Contributor

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot

angular-robot commented on Apr 1, 2022

@angular-robot
Contributor

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: google-mapsfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @crisbeto@andrewseguin@umernaeem217@AyalaBarzilay

        Issue actions

          Add WebglOverlayVeiw to google-map · Issue #23626 · angular/components