Skip to content

maxNativeZoom does not work with tms=true #2314

@FIjaakko

Description

@FIjaakko

Tested with 0.7, 0.7.1 and 0.8-dev master branch. Tested with most recent version of Firefox, Chrome and IE10. The result is the same with all of these versions and browsers.

Creating a tileLayer with maxZoom: 19 and maxNativeZoom: 17 does not work when tms: true is also set. Only gray background is shown after maxNativeZoom.

I tried with tms: false and manually inverting the y-coordinate and then I get correctly scaled maxNativeZoom tiles.

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