Skip to content

Adding a circlemarker with L_PREFER_CANVAS enabled causes an infinite loop of moveend firings. #1712

@snkashis

Description

@snkashis

Try out http://bl.ocks.org/snkashis/5666125 , and take a look at the console.
Adding a circlemarker fires 'moveend' on the map in an infinite loop.

This issue is present in 0.5.1 or 0.6-dev.

Removing the this.fire('moveend');
in https://github.com/Leaflet/Leaflet/blob/master/src/layer/vector/canvas/Path.Canvas.js#L56

fixes this up temporarily but obviously we need to dig a bit deeper here.

Bisecting indicates we should be looking at bd8d5ff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions