Skip to content

Instantly share code, notes, and snippets.

@do-me
Created November 7, 2025 07:32
Show Gist options
  • Select an option

  • Save do-me/1fdc8f081ac622f2191693f9f2c1dfc4 to your computer and use it in GitHub Desktop.

Select an option

Save do-me/1fdc8f081ac622f2191693f9f2c1dfc4 to your computer and use it in GitHub Desktop.

Revisions

  1. do-me created this gist Nov 7, 2025.
    40 changes: 40 additions & 0 deletions style.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    {
    "version": 8,
    "sources": {
    "osm": {
    "type": "raster",
    "tiles": ["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"],
    "tileSize": 256,
    "attribution": "<a href=\"https://www.openstreetmap.org/copyright\">&copy; OpenStreetMap Contributors</a>",
    "maxzoom": 19
    },
    "terrainSource": {
    "type": "raster-dem",
    "url": "https://tiles.mapterhorn.com/tilejson.json"
    },
    "hillshadeSource": {
    "type": "raster-dem",
    "url": "https://tiles.mapterhorn.com/tilejson.json"
    }
    },
    "layers": [
    {
    "id": "osm",
    "type": "raster",
    "source": "osm"
    },
    {
    "id": "hills",
    "type": "hillshade",
    "source": "hillshadeSource",
    "paint": {
    "hillshade-shadow-color": "#473B24"
    }
    }
    ],
    "terrain": {
    "source": "terrainSource",
    "exaggeration": 1
    },
    "sky": {}
    }