feat: use snapped location by default
Some checks are pending
TrafficCue CI / check (push) Has started running

This commit is contained in:
2025-10-25 18:49:34 +02:00
parent 640a2e8ef6
commit 1f99976f97
4 changed files with 31 additions and 17 deletions

View File

@ -53,6 +53,7 @@ export async function getFeature(coord: WorldLocation, layer: string, { lastId,
console.log("lastId:", lastId, "a.id:", a.id, "b.id:", b.id);
const STAY_BIAS = getBias();
// TODO: don't bias if feature is continuing straight (split ways vs turn)
if (lastId && String(a.id) == lastId) {
console.log("Applying stay bias to B");
distB += STAY_BIAS;