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

Problems when map is added to a dialog #9

Closed
paodb opened this issue Sep 14, 2021 · 2 comments · Fixed by #10
Closed

Problems when map is added to a dialog #9

paodb opened this issue Sep 14, 2021 · 2 comments · Fixed by #10

Comments

@paodb
Copy link
Member

paodb commented Sep 14, 2021

From directory:

When I load the add-on on a Dialog the behavior is changed:

  • marker.addDragEndEventListener() (event) is never executing,
  • polygon.addClickListener() (event) is never executing,
  • info window is not shown

But, when I load the add-on on main application's window all the above issues are solved.

This issue is related to issues FlowingCode/GoogleMapsAddon#51 & FlowingCode/GoogleMapsAddon#49

@paodb
Copy link
Member Author

paodb commented Oct 1, 2021

I was able to reproduce this. First time opening the dialog it all works ok. Second time all things mentioned above stop working as expected.

@paodb
Copy link
Member Author

paodb commented Oct 21, 2021

I found a problem with listeners when components (markers/polygons) are detached in the web-component. I have a fix, so I will transfer the issue.

@paodb paodb transferred this issue from FlowingCode/GoogleMapsAddon Oct 21, 2021
paodb added a commit that referenced this issue Oct 21, 2021
javier-godoy pushed a commit that referenced this issue Oct 21, 2021
@paodb paodb moved this to Done in Flowing Code Addons May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant