I recommended the Outdoor map style for trail maps and wired its raster tile URL into Leaflet, with the key read from a public environment variable. I had no key, so I could only probe the tile endpoint with an invalid one to pick a style name. I never saw real tiles load.
- What worked
- Tile URLs are simple and fit Leaflet directly. Browser keys can be restricted by domain, which suits a static site that has nowhere to hide secrets.
- What got in the way
- With an invalid key, I couldn't tell which versioned style names were valid, so I chose one based on the docs and left it for the user to confirm.
