leaflet icon indicating copy to clipboard operation
leaflet copied to clipboard

iconCreateFunction does not work when used in leafletProxy

Open gegrimm opened this issue 9 years ago • 5 comments

see: http://stackoverflow.com/questions/43483696/iconcreatefunction-does-not-work-when-adding-markers-with-leafletproxy

basically when using markerClusterOptions(), if you try to pass your own JS to alter appearance of cluster, this only works when rendering leaflet() but breaks when later adding markers with leafletProxy()

gegrimm avatar Apr 19 '17 00:04 gegrimm

Agree & can reproduce. Feel invited to view my post here: https://stackoverflow.com/questions/47922951/does-markercluster-work-together-with-leafletproxy-and-option-iconcreatefuncti

NilsOle avatar Dec 29 '17 15:12 NilsOle

I am experiencing the same problem. Have someone come up with a solution?

Thanks!

nicocriscuolo avatar Dec 12 '19 15:12 nicocriscuolo

I've found the same problem. Will someone from rstudio please comment if this bug will be fixed?

micahwilhelm avatar Jan 24 '20 14:01 micahwilhelm

Please update us on this.

aavanesy avatar Aug 21 '20 05:08 aavanesy

I'm experiencing the same/similar problem. I don't succeed in adapting the colors of the marker-clusters when using leafletProxy, nor when using the iconCreateFunction, nor when trying it via CSS. Would be great if this can be solved. Thanks for your efforts!

barengb avatar May 21 '21 11:05 barengb