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

App mapcomponent is not a singleton/reusable component #60

Open
4xle opened this issue Sep 18, 2018 · 0 comments
Open

App mapcomponent is not a singleton/reusable component #60

4xle opened this issue Sep 18, 2018 · 0 comments

Comments

@4xle
Copy link

4xle commented Sep 18, 2018

This got me up and running with creating a leaflet-based map component, but it only works on the initial component load. Trying to navigate to another page with an element which uses the same map component just shows a blank. Traced the issue out to angular lifecycle hooks trying to reinitialize the component I think, but still trying to determine if a solution to this issue is even possible.

This issue is technically outside the scope of this project, but I wanted to highlight that this is possibly a limitation of this implementation. If anyone has suggestions which solve this problem, I would gladly implement them into a PR for the base project because this is far simpler than trying to integrate what I've already got using leaflet-core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant