Skip to content

setIcon with DivIcon no longer works after setIcon icon reuse change #1753

@danzel

Description

@danzel

As of #1726 you cannot use setIcon and pass a new DivIcon. If you do the icon doesn't end up getting updated.
This breaks MarkerCluster which relies heavily on DivIcon.

Refs Leaflet/Leaflet.markercluster#190

Metadata

Metadata

Assignees

Labels

blockerCritical issue or PR that must be resolved before the next release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions