Compare commits

..

2 commits
v0.1.0 ... main

Author SHA1 Message Date
312b06c0e6 Add screenshot to README 2026-06-04 08:11:12 +01:00
b441b82a17 Switch map tiles to Stadia Maps Alidade Smooth Dark 2026-06-04 08:03:37 +01:00
3 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,8 @@ A self-contained Go server that receives GPS location data from the
[Colota Android app](https://colota.app), stores it in an SQLite3 database,
and serves a web frontend for browsing trips on a map.
![Breadcrumb screenshot](docs/screenshot.png)
## Quick Start
```bash

BIN
docs/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 KiB

View file

@ -511,9 +511,9 @@
// ── Map ───────────────────────────────────────────────────────────────────────
const map = L.map('map', { zoomControl: true }).setView([20, 0], 2);
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> &copy; <a href="https://carto.com/">CARTO</a>',
maxZoom: 19
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', {
attribution: '&copy; <a href="https://stadiamaps.com/">Stadia Maps</a> &copy; <a href="https://openmaptiles.org/">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
maxZoom: 20
}).addTo(map);
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;