Skip to content

Leaflet 0.6.2 gets stuck when using an initial zoom that doesn't fill entire container #1845

@LMDavid

Description

@LMDavid

This is my setup:
Browser: Chrome 27
OS: Windows 7
Leaflet version: 0.6.2
Other browsers with the same behaviour: Firefox 22,

This is the example that does not work, using Leaflet 0.6.2:

http://jsfiddle.net/LMDavid/znXqH/2/

And this works properly, Leaflet 0.5.1:

http://jsfiddle.net/LMDavid/uWzNt/4/

The code is the same in both versions, they just use different Leaflet version.

If i use a minZoom >= 2, or a zoom level >= 2 in the initial setView call it works properly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions