Skip to content

Consider adding bulkAddBegin/bulkAddEnd methods #59

Closed
@danzel

Description

Currently when you call addLayer while the MarkerClusterGroup is on the map it will add/remove/update markers on the map as it goes.
Need to investigate if this is a performance issue, if it is then add some new methods:

bulkAddBegin: Stops addLayer from adding/updating/removing layers on the map
bulkAddEnd: Adds all layers that should be on the map to the map.

This is for the cases where you load 1000s more markers via AJAX later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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