fix(vessels): both AIS providers are first-class, not fallback
Layer-panel note and .env.example now match the two-key model: AISStream (US live) and VesselAPI (Hormuz) run independently.
This commit is contained in:
parent
e7429a4161
commit
a8ad9ba1ff
2 changed files with 7 additions and 5 deletions
10
.env.example
10
.env.example
|
|
@ -59,10 +59,12 @@ FIRMS_INTERVAL=900
|
||||||
# Set to 0 to disable the fire loop entirely.
|
# Set to 0 to disable the fire loop entirely.
|
||||||
INGEST_FIRES=1
|
INGEST_FIRES=1
|
||||||
|
|
||||||
# ── VesselAPI (quota-capped REST AIS poller — free tier 150 calls/mo) ─────
|
# ── VesselAPI (commercial REST AIS — Hormuz, 5×/day, 150 calls/mo cap) ─────
|
||||||
# AISStream keeps US coasts live; VesselAPI fills the Middle East blind spot.
|
# Independent of AISStream (open/shared live US-coast WebSocket). Both stay
|
||||||
# The poller idles when VESSELAPI_API_KEY is unset. Never called from the map
|
# on when their keys are set; missing one never disables the other.
|
||||||
# pans (GET /api/vessels serves the shared last-known cache only).
|
# Prefer pasting VESSELAPI_API_KEY on the dashboard Keys page.
|
||||||
|
# The poller idles when the key is unset. Never called from map pans
|
||||||
|
# (GET /api/vessels serves the shared last-known cache only).
|
||||||
VESSELAPI_API_KEY=
|
VESSELAPI_API_KEY=
|
||||||
# Bounding box(es) as minlat,minlon,maxlat,maxlon (lat/lon order). Semicolon-
|
# Bounding box(es) as minlat,minlon,maxlat,maxlon (lat/lon order). Semicolon-
|
||||||
# separated for multiple boxes. Default = Strait of Hormuz (span 3.6 ≤ 4° cap).
|
# separated for multiple boxes. Default = Strait of Hormuz (span 3.6 ≤ 4° cap).
|
||||||
|
|
|
||||||
|
|
@ -805,7 +805,7 @@
|
||||||
<label class="lp-name"><input type="checkbox" id="lp-vessels-on" onchange="toggleVessels()"> <span class="lp-dot vessels"></span> Vessels · AIS</label>
|
<label class="lp-name"><input type="checkbox" id="lp-vessels-on" onchange="toggleVessels()"> <span class="lp-dot vessels"></span> Vessels · AIS</label>
|
||||||
<span class="lp-count" id="lp-vessels-count">0</span>
|
<span class="lp-count" id="lp-vessels-count">0</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="lp-note">Needs AISSTREAM_API_KEY. Magenta = military · gold = law/gov · teal = underway. Click for type / dest / IMO.</div>
|
<div class="lp-note">Two feeds: AISStream (US live) and VesselAPI (Hormuz, 5×/day). Paste both keys on the Keys page. Magenta = military · gold = law/gov · teal = underway. Click for type / dest / IMO.</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lp-layer">
|
<div class="lp-layer">
|
||||||
<div class="lp-row">
|
<div class="lp-row">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue