-
Notifications
You must be signed in to change notification settings - Fork 985
Description
The OWG has had a couple of submissions for featured layers that involve client-side rendered featured layers.
We should figure out how to support them. The requirements I see are
-
other layers work when a user's setup doesn't support a particular client-side layer (e.g. if webgl is disabled)
-
we aren't locked into only supporting one client-side rendering engine
-
large libraries aren't loaded until a user needs it
-
client-side layer support in the layer switcher bar
-
support for fractional zooms on client-side layers
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
Two methods mentioned are
- use mapbox-gl-leaflet, or
- shift to Mapbox GL JS.
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.