[openstreetmap/openstreetmap-website] Support client-side rendered featured layers (#2686)

Paul Norman notifications at github.com
Fri Jul 3 21:26:15 UTC 2020


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2686
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200703/788a2331/attachment.htm>


More information about the rails-dev mailing list