feat: use snapped location by default
Some checks are pending
TrafficCue CI / check (push) Has started running
Some checks are pending
TrafficCue CI / check (push) Has started running
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user