Skip to content

Marker#setIcon does not update popup anchor #1874

@jfirebaugh

Description

@jfirebaugh

Marker#bindPopup sets the popup anchor location based on icon.options.popupAnchor, but Marker#setIcon does not update the anchor. If you set a new icon with a different anchor, the popup is still anchored at the original location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions