-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Marker with dynamic content #32
Comments
I have the exactly same problem, did you resolve it since you wrote the issue? Edit: I just found a workaround.
To extend from LPopup just add this to your component:
And of course instead of using Hope it helps other devs. |
Hi, I'm facing exactly the same problem and haven't found another solution yet. @holtolee: Thanks for your workaround. Unfortunately I'm having problems to figure out where and how to overwrite the popupopen event. I assume, I have to put your code somewhere in my custom popup component that is extending LPopup but don't know how. May I kindly ask you to further explain this, maybe based on an example? Thank you very much in advance! UpdateThanks to @holtolee I got I working for me, though a bit different. I'm sure there might still be a better solution, but this worked for me. New custom popup component:
Parent component with map and markercluster:
|
Hi!
I have some problems with markers that has dynamic content. My code is:
If marker outside the cluster this code works fine, but when cluster spiderify click on marker simply collapse cluster. See image bellow.
The text was updated successfully, but these errors were encountered: