Build production-grade navigation
without reinventing the engine
NavCore v2 is the navigation intelligence layer that plugs into any map renderer. Core gives you structured state, typed events, profile presets, route loading, Expo location updates, GPS smoothing, route snapping, and directions providers. Pro unlocks dead reckoning, parallel-road intelligence, offline ETA, voice triggers, and geofencing.
Technical Challenges
Navigation problems NavCore solves
Building turn-by-turn navigation from scratch requires solving complex sensor fusion, geometric projection, and dead reckoning problems.
GPS Jitter
Raw GPS data jumps around. Your vehicle marker dances erratically instead of smoothly following the road geometry.
Parallel Road Traps
On dual carriageways and motorway slip roads, naive snapping picks the wrong road. Your marker jumps across the median divider.
Route Snapping
Getting location to snap to the correct road is mathematically complex. Interchanges, overpasses, and tunnels cause severe drift.
Vehicle Marker Lag
GPS updates arrive at 1Hz or slower. Users observe noticeable lag between physical movement and on-screen animation.
Signal Outages & Tunnels
When GPS drops out in tunnels or urban canyons, dead reckoning and velocity prediction must maintain continuous navigation.
Voice Instruction Timing
Audio prompts triggered too early cause confusion, while late prompts cause missed turns. Speed-dependent trigger distances are vital.
Off-Route & Recalculation
Distinguishing an intentional turn from a momentary sensor deviation prevents needless rerouting spam and preserves user trust.
Deterministic State Machine
Coordinating progress indices, distance-to-next, corridor widths, and license validity alongside UI rendering creates immense complexity.
Architectural Capabilities
Engineered for precision and resilience
Every technical obstacle has a verified, deterministic module in the NavCore architecture.
Core Navigation Engine
The NavCore orchestrator handles GPS smoothing, route snapping, progress tracking, route offset prediction, lifecycle state, and distance-based deviation fallback.
Custom Route Builder
Assemble routes from raw coordinate arrays, GPX tracks, or GeoJSON geometries, with automatic waypoint chunking for Mapbox and ORS.
Multi-Provider Directions
Standardized interface for OSRM, Valhalla, and OpenRouteService included in Core. Optional Mapbox provider package for proprietary routing.
Licensed Road Intelligence
Pro tier unlocks dual-carriageway resolution, compound deviation detection, turn-around suppression, and dead reckoning extrapolation.
Offline ETA & Voice Triggers
ETAEngine and VoiceTriggerEngine execute entirely on-device from NavCoreState, with speed-adaptive distance thresholds and stop detection.
Geofencing Engine
Real-time polygon and circular zone evaluation with zero cloud dependency. Emits enter, dwell, and exit lifecycle events in microsecond time.
Simulator & Headless CI
Replay recorded NMEA and GPX traces, inject Gaussian jitter, and run deterministic integration assertions in headless Node.js test runners.
Universal Adapters
Official adapters for MapLibre, React Native, Leaflet, Google Maps, and headless runtime environments. The engine never touches the DOM directly.
Decoupled Architecture: NavCore is an algorithmic navigation engine, not a map renderer. It computes snapped progress, corridor metrics, and maneuvers, and projects them cleanly into any map view or headless pipeline.
The mobile POC that ships
A complete Expo app demonstrating NavCore v2 end-to-end: GPS location, route loading, live navigation, voice instructions, off-route recovery, and ETA — all running on the same SDK you install from npm.
Real-time GPS navigation
MapLibre-powered map with live vehicle marker, animated route polyline, and smooth camera follow. The engine processes GPS pulses and renders structured state at every update.
const { position, navigation, status } = useNavSelector(s => s);
// Smooth camera follows snapped position
mapRef.current?.animateCamera({
center: { latitude: coord[1], longitude: coord[0] },
heading: position.bearing,
zoom: 15,
});# Clone and run the POC in minutes git clone https://github.com/ingissa/ingissa-navcore-examples.git cd apps/navigation-poc npm install npm start # Expo Go or dev client
Complete Examples Repository
Also included in the official examples workspace:
Try the React web showcase
The current SDK ships two complete examples: an Expo showcase and a React web showcase. The browser example uses NavCore v2, MapLibre, OSRM, simulator input, ETA, voice, and geofencing.
V2 showcase with structured state, renderer adapters, simulator data, and Pro companions.
Open in StackBlitzPrefer the reference path? Browse the v2 examples
Under the Hood
Architecture: The Brain + The View
NavCore is not a map renderer. It is the navigation intelligence layer that sits between GPS and your UI.
GPS Device
raw lng/lat + accuracy + bearing + speed
|
v
NAVCORE ENGINE - engine.update(gps)
1. Profile presets Core pedestrian, vehicle, high-speed tuning
2. KalmanFilter2D Core GPS smoothing
3. RouteSnapper Core route projection + bearing/inertia scoring
4. DynamicCorridor Core speed/accuracy corridor sizing
5. ProgressTracker Core anti-regression route progress
6. RouteOffsetPredictor Core smooth offset between GPS pulses
7. BearingEngine Pro speed-adaptive bearing smoothing
8. DeviationDetector Pro compound off-route confirmation
9. NavigationFSM Engine lifecycle state
10. InstructionResolver Engine next instruction window
11. DeadReckoning Pro prediction during GPS gaps
|
v
Structured NavCoreState
position: rawCoord, snappedCoord, bearing, speed
navigation: routeIndex, distanceToDestination, nextInstructionIndex, hasArrived
status: lifecycleState, offRouteState, corridor, distanceToRoute
meta: gpsAgeMs, isGpsStale, licenseStatus
|
v
Your app
MapLibre / Leaflet / Google Maps / React Native / Headless
ETAEngine / VoiceTriggerEngine / GeofencingEngine consume NavCoreStateRenderer Adapters
Directions Providers
MapLibre GL Integration
Load a provider result, subscribe to structured state, and render through the adapter.
import { NavCore, OSRMDirectionsProvider } from '@ingissa/navcore-core';
import { MapLibreAdapter } from '@ingissa/navcore-maplibre';
const provider = new OSRMDirectionsProvider({
baseUrl: 'https://router.project-osrm.org',
});
const result = await provider.getRoute(waypoints, {
profile: 'driving',
steps: true,
});
const engine = new NavCore({
profile: 'vehicle',
licenseKey: process.env.NAVCORE_LICENSE_KEY,
});
const adapter = new MapLibreAdapter(map);
engine.loadRoute(result);
adapter.drawRoute(result.geometry);
engine.startNavigation();
engine.subscribe((state) => {
const coord = state.position.snappedCoord;
if (!coord) return;
adapter.updateVehicle(coord, state.position.bearing, state);
adapter.panCamera(coord, state.position.bearing, { zoom: 15, pitch: 45 });
});
navigator.geolocation.watchPosition(({ coords }) => {
engine.update({
coord: [coords.longitude, coords.latitude],
accuracy: coords.accuracy,
bearing: coords.heading,
speed: coords.speed ?? 0,
timestamp: Date.now(),
});
});React Native + Expo Location
The v2 hook owns engine subscriptions and maps Expo location objects into NavCore GPS updates.
import { useEffect } from 'react';
import {
useNavSelector,
useNavInstruction,
useNavAlert,
} from '@ingissa/navcore-react-native';
export function NavigationMap({ mapRef }) {
const instruction = useNavInstruction();
const alertState = useNavAlert();
const coord = useNavSelector((s) => s.snappedCoord);
const bearing = useNavSelector((s) => s.bearing);
useEffect(() => {
if (!coord) return;
mapRef.current?.animateCamera({
center: { latitude: coord[1], longitude: coord[0] },
heading: bearing,
});
}, [coord, bearing]);
};Key Insight
You provide a route and GPS stream. NavCore outputs typed events plus clean, real-time structured state. Your renderer stays replaceable, and your navigation logic stays testable with @ingissa/navcore-simulator and @ingissa/navcore-headless.
Ecosystem
The @ingissa/* packages
One engine, Core and Pro subpaths, public types in Core, official adapters, and simulator tooling.
@ingissa/navcore-coreEngineNavigation engine, Kalman filter, snapper, FSMs, route planning, dead reckoning, and built-in OSRM, Valhalla, and ORS providers with zero runtime dependencies.
npm install @ingissa/navcore-core@ingissa/navcore-typesTypesShared TypeScript interfaces, navigation types, directions contracts, and state interfaces across the NavCore ecosystem.
npm install @ingissa/navcore-types@ingissa/navcore-mapboxDirectionsMapbox Directions API adapter with automatic waypoint chunking, step parsing, and seamless RoutePlan integration.
npm install @ingissa/navcore-mapbox@ingissa/navcore-react-nativeMobileReact Native bindings with NavCoreProvider and granular, tearing-free selectors powered by useSyncExternalStore.
npm install @ingissa/navcore-react-native@ingissa/navcore-simulatorDev ToolHeadless GPS simulator for Node.js, React Native, and CI with Gaussian/urban noise models, scenario injection, and GPX replay.
npm install @ingissa/navcore-simulator@ingissa/navcore-headlessTestingHeadless navigation adapter for server-side validation, CI pipelines, and test environments without a map renderer.
npm install @ingissa/navcore-headless@ingissa/navcore-maplibreMapMapLibre GL JS and MapLibre React Native adapter for rendering NavCore route geometry, corridor, and vehicle position.
npm install @ingissa/navcore-maplibre@ingissa/navcore-leafletMapLeaflet.js adapter for rendering NavCore navigation state on web applications using the Leaflet map library.
npm install @ingissa/navcore-leaflet@ingissa/navcore-google-mapsMapGoogle Maps JavaScript API adapter for rendering NavCore route, corridor, and position on Google Maps web applications.
npm install @ingissa/navcore-google-mapsCapabilities
Powerful features
Everything you need to build world-class navigation experiences with the v2 SDK surface.
Structured NavCoreState
State is grouped into position, navigation, status, and meta so renderer code reads exactly what it needs.
Typed Events
Subscribe to routeLoaded, navigationStarted, instruction, arrival, deviation, offRouteChanged, and stateUpdate.
State Subscriptions
engine.subscribe() streams every state change and powers React Native hooks without polling.
Profiles and Tuning
Pedestrian, vehicle, and high-speed presets can be refined with nested corridor, Kalman, arrival, and bearing options.
Route Loading
loadRoute() accepts provider results directly, while setRoute() remains available for custom geometry and instructions.
Expo Location Updates
updateFromExpoLocation() maps Expo location objects into the engine GPS update format.
Migration Helper
flattenState() returns the v1-style state shape while apps migrate to the v2 structured API.
Core Directions
OSRM, Valhalla, and OpenRouteService providers ship from @ingissa/navcore-core.
Pricing
Simple, transparent pricing
Start with the Core tier, then unlock licensed Pro modules when your product needs them.
Core
Free for development and production use of Core modules
- No license key required for Core modules, in development and production
- Deterministic 11-stage navigation pipeline
- Kalman filter coordinate smoothing in degrees
- Nearest-segment route snapping and monotonic progress tracking
- Built-in OSRM, Valhalla, and OpenRouteService providers
- Mapbox Directions adapter (@ingissa/navcore-mapbox) with automatic waypoint chunking
- CustomRouteBuilder for GPX and GeoJSON route generation
- Zero runtime dependencies in @ingissa/navcore-core
- Shared TypeScript definitions in @ingissa/navcore-types
Development mode (isDev) unlocks Pro modules for local development only. It is ignored in production builds.
Navcore Suite
Perpetual production navigation intelligence for one application
- One-time commercial license for one application bundle ID or domain
- Perpetual offline verification with ECDSA P-256
- Perpetual use of every version released during your 12-month update period. Ending updates or support never disables an activated license
- 12 months of updates included, optional renewal at $25 per app per year
- Security fixes free for your major version for at least 24 months after its release
- DeadReckoningEngine for temporary GPS tunnel and signal loss
- Compound deviation detection & parallel-road resolver with U-turn protection
- VoiceTriggerEngine cue scheduling with early/late thresholds for TTS
- ETAEngine with rolling average speed and stop detection
- Circular and polygonal GeofencingEngine with dwell monitoring
- Priority developer support by e-mail (target reply within 3 business days)
14-day refund. One license key reissue included, further reissues $10.
Studio
Up to 10 applications, including apps built for your clients. One license key per app. Same Pro modules, updates and support as Suite.
- Up to 10 applications, including apps built for your clients
- One license key per app
- Same Pro modules, updates and support as Suite
14-day refund. One license key reissue included per key, further reissues $10.
Need unlimited apps, a service level or source escrow? Contact us
Build production-grade navigation into your apps
Integrate the zero-dependency Core engine today. Unlock perpetual offline licensing for advanced enterprise features anytime.