Skip to content

setting worldCopyJump to true breaks map in 0.6.2 #1831

@jjatria

Description

@jjatria

With the latest version, setting worldCopyJump to true seems to break an otherwise functional map.

Upon loading, dragging the map breaks it: it freezes and reports a number of invalid LatLongs to the console (zooming seems to trigger the error being printed). If upon loading and before dragging the map is zoomed in or out, the problem is fixed and the map behaves as expected.

See a (not) working example here and a slightly more verbose explanation of the problem over at StackExchange.

Using Leaflet 0.5.1 instead of 0.6.2 fixes the issue. Probably irrelevant, but I tested this on Chromium and Firefox on Kubuntu Raring.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions