Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 312b06c0e6 | |||
| b441b82a17 |
3 changed files with 5 additions and 3 deletions
|
|
@ -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,
|
[Colota Android app](https://colota.app), stores it in an SQLite3 database,
|
||||||
and serves a web frontend for browsing trips on a map.
|
and serves a web frontend for browsing trips on a map.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
BIN
docs/screenshot.png
Normal file
BIN
docs/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 920 KiB |
|
|
@ -511,9 +511,9 @@
|
||||||
// ── Map ───────────────────────────────────────────────────────────────────────
|
// ── Map ───────────────────────────────────────────────────────────────────────
|
||||||
const map = L.map('map', { zoomControl: true }).setView([20, 0], 2);
|
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', {
|
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', {
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> © <a href="https://carto.com/">CARTO</a>',
|
attribution: '© <a href="https://stadiamaps.com/">Stadia Maps</a> © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
||||||
maxZoom: 19
|
maxZoom: 20
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;
|
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue