3 Commits

Author SHA1 Message Date
simonchiang f318c73b92 fix: Mercator stays at [0,15], dynamic center only for orthographic 2026-06-25 12:02:29 +08:00
simonchiang c2680a17fb fix: getBestCenter - access .data property of panel object
getPanelData() returns {metadata, data}, not a plain array.
Fixed to use pdata.data instead of pdata directly.
2026-06-25 12:00:53 +08:00
simonchiang 7436bf6e2e v1.10.2 patches: continent persistence, city markers, dynamic map center
C changes:
- gstorage.c: encode continent into root key for --persist --restore survival
- gholder.c: decode continent from root + lat/lng storage
- commons.h: add lat/lng fields to GMetrics struct
- geoip2.c/geoip1.h: extract coordinates from MMDB
- json.c: output lat/lng in geolocation JSON

JS changes:
- Remove cityIndex guard for static HTML city dots
- TopoJSON lat/lng fallback for city coordinates
- updateMap fallback city collection
- Dynamic orthographic center based on visitor count
- Mercator stays at [0,15] for full world view

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 11:38:09 +08:00