Skip to content

Document change in side effect of map.invalidateSize() #1819

@jieter

Description

@jieter

While investigating jieter/Leaflet.Sync/issues/4, it took me some time to find out that in Leaflet 0.6.x map.invalidateSize() fires no move event anymore if the size did not change.

The name of the method and the documentation did not suggest it did, but implementations might rely on it. A small note in the changelog might save time in those cases...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions