<p></p>
<p>The OWG has had a couple of submissions for featured layers that involve client-side rendered featured layers.</p>
<p>We should figure out how to support them. The requirements I see are</p>
<ul>
<li>
<p>other layers work when a user's setup doesn't support a particular client-side layer (e.g. if webgl is disabled)</p>
</li>
<li>
<p>we aren't locked into only supporting one client-side rendering engine</p>
</li>
<li>
<p>large libraries aren't loaded until a user needs it</p>
</li>
<li>
<p>client-side layer support in the layer switcher bar</p>
</li>
<li>
<p>support for fractional zooms on client-side layers</p>
</li>
</ul>
<p>The client-side rendered layers we've had interest from are using Mapbox GL, but like I mentioned, we need to be able to support multiple client-side rendering engines in the future</p>
<p>Two methods mentioned are</p>
<ul>
<li>use mapbox-gl-leaflet, or</li>
<li>shift to Mapbox GL JS.</li>
</ul>
<p>I don't know enough to know if there are other options. Shifting to Mapbox GL JS seems like more work, and would likely make it more difficult to use other client-side rendering engines, so it's probably not the way to go.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2686">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOWQG235P6QT6IEBILRZZEHPANCNFSM4OQCSHZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLNZNFPBT554LKCBIVLRZZEHPA5CNFSM4OQCSHZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JWJ7KUQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2686",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2686",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>