NavCore SDK v2.1.0 - structured state, typed events, Expo-ready hooks.
Zero Runtime DependenciesOffline ECDSA P-256React Native · Expo · MapLibre · Web

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.

No spam · Unsubscribe any time · SDK docs

v2.1.0Current SDK
9Public Packages
4Directions Providers
0Runtime Dependencies

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.

Engineered for precision and resilience

Every technical obstacle has a verified, deterministic module in the NavCore architecture.

Core

Core Navigation Engine

The NavCore orchestrator handles GPS smoothing, route snapping, progress tracking, route offset prediction, lifecycle state, and distance-based deviation fallback.

Core

Custom Route Builder

Assemble routes from raw coordinate arrays, GPX tracks, or GeoJSON geometries, with automatic waypoint chunking for Mapbox and ORS.

Core

Multi-Provider Directions

Standardized interface for OSRM, Valhalla, and OpenRouteService included in Core. Optional Mapbox provider package for proprietary routing.

Pro

Licensed Road Intelligence

Pro tier unlocks dual-carriageway resolution, compound deviation detection, turn-around suppression, and dead reckoning extrapolation.

Pro

Offline ETA & Voice Triggers

ETAEngine and VoiceTriggerEngine execute entirely on-device from NavCoreState, with speed-adaptive distance thresholds and stop detection.

Pro

Geofencing Engine

Real-time polygon and circular zone evaluation with zero cloud dependency. Emits enter, dwell, and exit lifecycle events in microsecond time.

Tools

Simulator & Headless CI

Replay recorded NMEA and GPX traces, inject Gaussian jitter, and run deterministic integration assertions in headless Node.js test runners.

Adapters

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.

Production POC — Expo · React Native

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.

9:41
●●●●
🚗
📍
MapLibre GL
●
Navigating
on route · GPS locked
3.1km
to destination
46 km/h
speed
📍 MapLibre RN map🛣️ OSRM routing🧭 Route snapping🔊 Voice cues⏱️ Offline ETA⚡ Deviation detect🎮 GPS Simulator🏎️ Dead reckoning
🗺️

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.

apps/navigation-poc/src/TypeScript
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,
});
Terminal
# 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
V2 showcase

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.

04-maplibre-web / main.tsTypeScript

V2 showcase with structured state, renderer adapters, simulator data, and Pro companions.

Open in StackBlitz

Prefer the reference path? Browse the v2 examples

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 NavCoreState

Renderer Adapters

MapLibre GLLeafletGoogle Maps JSHeadless CI

Directions Providers

OSRMValhallaOpenRouteServiceMapbox Directions

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]); };
01

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.

The @ingissa/* packages

One engine, Core and Pro subpaths, public types in Core, official adapters, and simulator tooling.

@ingissa/navcore-coreEngine
2.1.0

Navigation 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-typesTypes
2.1.0

Shared TypeScript interfaces, navigation types, directions contracts, and state interfaces across the NavCore ecosystem.

$npm install @ingissa/navcore-types
@ingissa/navcore-mapboxDirections
2.1.0

Mapbox Directions API adapter with automatic waypoint chunking, step parsing, and seamless RoutePlan integration.

$npm install @ingissa/navcore-mapbox
@ingissa/navcore-react-nativeMobile
2.1.0

React Native bindings with NavCoreProvider and granular, tearing-free selectors powered by useSyncExternalStore.

$npm install @ingissa/navcore-react-native
@ingissa/navcore-simulatorDev Tool
2.1.0

Headless 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-headlessTesting
2.1.0

Headless navigation adapter for server-side validation, CI pipelines, and test environments without a map renderer.

$npm install @ingissa/navcore-headless
@ingissa/navcore-maplibreMap
2.1.0

MapLibre GL JS and MapLibre React Native adapter for rendering NavCore route geometry, corridor, and vehicle position.

$npm install @ingissa/navcore-maplibre
@ingissa/navcore-leafletMap
2.1.0

Leaflet.js adapter for rendering NavCore navigation state on web applications using the Leaflet map library.

$npm install @ingissa/navcore-leaflet
@ingissa/navcore-google-mapsMap
2.1.0

Google Maps JavaScript API adapter for rendering NavCore route, corridor, and position on Google Maps web applications.

$npm install @ingissa/navcore-google-maps

Powerful features

Everything you need to build world-class navigation experiences with the v2 SDK surface.

8 features in Core Tier
01

Structured NavCoreState

State is grouped into position, navigation, status, and meta so renderer code reads exactly what it needs.

02

Typed Events

Subscribe to routeLoaded, navigationStarted, instruction, arrival, deviation, offRouteChanged, and stateUpdate.

03

State Subscriptions

engine.subscribe() streams every state change and powers React Native hooks without polling.

04

Profiles and Tuning

Pedestrian, vehicle, and high-speed presets can be refined with nested corridor, Kalman, arrival, and bearing options.

05

Route Loading

loadRoute() accepts provider results directly, while setRoute() remains available for custom geometry and instructions.

06

Expo Location Updates

updateFromExpoLocation() maps Expo location objects into the engine GPS update format.

07

Migration Helper

flattenState() returns the v1-style state shape while apps migrate to the v2 structured API.

08

Core Directions

OSRM, Valhalla, and OpenRouteService providers ship from @ingissa/navcore-core.

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

$0
Start Core
  • 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.

ONE-TIME LICENSE

Navcore Suite

Perpetual production navigation intelligence for one application

$49/app
Buy Navcore Suite
  • 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.

$349
Request a Studio license
  • 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

NavCore 2.1.0 · Production Ready on NPM

Build production-grade navigation into your apps

Integrate the zero-dependency Core engine today. Unlock perpetual offline licensing for advanced enterprise features anytime.

Offline ECDSA P-256 verificationZero external runtime dependencies9 modular NPM packages