Skip to content

Commit 50d336b

Browse files
committed
JM001: Initial Commit
1 parent fc884f6 commit 50d336b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/geocoding-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const NOMINATIM_BASE = 'https://nominatim.openstreetmap.org';
55

66
// Cebu metro area bounding box for bounded search
77
const CEBU_VIEWBOX = '123.7,10.1,124.1,10.6';
8-
8+
// SAMPLE TO PR
99
// Simple rate-limiter: 1 request per second (Nominatim policy)
1010
let lastRequestTime = 0;
1111
async function rateLimited<T>(fn: () => Promise<T>): Promise<T> {

src/lib/osrm-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const OSRM_BASE = 'https://router.project-osrm.org';
66

77
// In-memory cache for snapped routes
88
const snappedCache = new Map<string, Coordinate[]>();
9-
9+
// {R{R{R{R}}}}
1010
/**
1111
* Snap a sequence of waypoints to actual streets using OSRM.
1212
* Returns a detailed coordinate array that follows real roads.

0 commit comments

Comments
 (0)