cameras: ingest ALERTCalifornia/ALERTWest official public JPEGs
All checks were successful
build-and-deploy / build (push) Successful in 3m36s
All checks were successful
build-and-deploy / build (push) Successful in 3m36s
Adds the documented getCameraDataByLoc API (~10k public wildfire, DOT, and FAA stills with lat/lon). Masscan will not produce viewable feeds; this will. Map bbox fetch raised to 2000 markers.
This commit is contained in:
parent
7ceba736dd
commit
f3c35c2230
4 changed files with 95 additions and 19 deletions
|
|
@ -1056,7 +1056,7 @@ function camThumb(c) {
|
|||
async function loadCams() {
|
||||
if (!map) return;
|
||||
try {
|
||||
const r = await fetch(`${API}/api/cameras?bbox=${currentBBox()}&limit=500`);
|
||||
const r = await fetch(`${API}/api/cameras?bbox=${currentBBox()}&limit=2000`);
|
||||
const cams = await r.json();
|
||||
if (camsGroup) map.removeLayer(camsGroup);
|
||||
camsGroup = L.layerGroup(cams.map(c => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue