<p dir="auto">In contrast to raster tile layers, the maxZoom for vector tile layers isn't determined by the served tiles (up to zoom level 14).<br>
Hence, the maxZoom for vector tile layers is more of an integration decision than an inherent property of the tile layer itself.<br>
Therefore, I argue, the maxZoom for vector tile layers should be set in the layers.yml instead.</p>
<p dir="auto">Also <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #6222.">resolves</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3254257905" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6222" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6222/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6222">#6222</a>.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6228'>https://github.com/openstreetmap/openstreetmap-website/pull/6228</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6228/commits/c35b94f774c8db0baa67d5287e3075175b909c34" class="commit-link">c35b94f</a> Bundle vector layer maxZoom definitions in layers.yml</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6228/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6228/files#diff-95baaca40ef9c6e3a2f6d3226c421512b89c92c867846d7b081130117fd8d6c1">app/assets/javascripts/leaflet.maptiler.js</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6228/files#diff-d892782f9b64fbeb09be7a61ed829d071c868b6b125f6a74df1de4bb033524a2">config/layers.yml</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6228.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6228.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6228.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6228.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6228">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIVD4HWUL4XZGIIB433J4DJPAVCNFSM6AAAAACCEUMIWSVHI2DSMVQWIX3LMV43ASLTON2WKOZTGI2TINZYGAZDKNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIK4UILGTF73VJXOHL3J4DJPA5CNFSM6AAAAACCEUMIWSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMEAABME.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6228</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6228",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6228",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>