beeeeg update
Some checks failed
Test and deploy staging / staging (push) Has been cancelled

This commit is contained in:
2026-09-23 04:15:10 +00:00
parent 487eff5bb2
commit d0c7b6548b
135 changed files with 9531 additions and 1777 deletions

View File

@@ -57,14 +57,14 @@ export const GET: RequestHandler = async ({ url }) => {
.orderBy(sightings.seenAt);
const animalMap = new Map<
string,
number,
{
animalId: string;
animalId: number;
species: string;
breed: string | null;
animalName: string | null;
sightings: Array<{
id: string;
id: number;
lat: number;
lng: number;
seenAt: Date;
@@ -118,10 +118,5 @@ export const GET: RequestHandler = async ({ url }) => {
};
});
console.log(
`[map] query returned ${rows.length} rows for bbox ${q.minLng},${q.minLat} → ${q.maxLng},${q.maxLat}`
);
console.log(`[map] built ${features.length} features`);
return json({ type: 'FeatureCollection', features });
};