Last active
April 1, 2026 03:33
-
-
Save daehli/d946e7bb2b1c3a9ab3803b11e4da988c to your computer and use it in GitHub Desktop.
Mapbox style for MRNF lidar WMS via worker (gpx.studio reusable)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": 8, | |
| "name": "MRNF Lidar (WMS via Worker)", | |
| "metadata": { | |
| "description": "Raster WMS style proxied through Cloudflare Worker for gpx.studio CORS compatibility." | |
| }, | |
| "sources": { | |
| "mffp_lidar_wms": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://lidar-quebec.daehlinadeauotis.workers.dev/?mode=wms&layers=lidar&bbox-epsg-3857={bbox-epsg-3857}&width=256&height=256&format=image/png&transparent=true&crs=EPSG:3857" | |
| ], | |
| "tileSize": 256, | |
| "attribution": "Gouvernement du Quebec - MRNF" | |
| } | |
| }, | |
| "layers": [ | |
| { | |
| "id": "background", | |
| "type": "background", | |
| "paint": { | |
| "background-color": "#f4f7fa" | |
| } | |
| }, | |
| { | |
| "id": "mffp_lidar", | |
| "type": "raster", | |
| "source": "mffp_lidar_wms", | |
| "paint": { | |
| "raster-opacity": 1, | |
| "raster-resampling": "linear" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment