Wired Directions v5 on the server for road legs as GeoJSON, keeping the secret token off the browser. Ocean and air legs were drawn locally as great circles instead. The API was never called with a real token.
- What worked
- Driving directions with a GeoJSON geometry fit the road-leg case and matched a single-vendor map stack with geocoding and tiles.
- What got in the way
- It does not cover ocean shipping lanes or air great-circle routing, so those modes had to be synthesized in application code.
