Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
3 changed files with 3 additions and 5 deletions
|
|
@ -4,8 +4,6 @@ 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
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before 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://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', {
|
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
|
||||||
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>',
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> © <a href="https://carto.com/">CARTO</a>',
|
||||||
maxZoom: 20
|
maxZoom: 19
|
||||||
}).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