# bramus/react-native-maps-directions

Directions Component for `react-native-maps`

Repository: https://github.com/bramus/react-native-maps-directions
Canonical: https://ross.abutalabs.com/products/react-native-maps-directions
Language: JavaScript
License: MIT
License Family: permissive
Topics: react-native, google-maps-api, google-maps, mapkit
Last push: 2024-06-11T07:47:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3209, "days_push": 813, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1281, forks 210 (observed 2026-08-28T04:04:13.902316+00:00)

## What it is
A React Native component that draws routes between two coordinates on top of react-native-maps, powered by the Google Maps Directions API. It renders a MapView.Polyline and automatically refetches directions when origin or destination changes.

## Use cases
- draw a route between two coordinates in a react native app
- show driving directions on a map in react native
- render polyline path between origin and destination
- integrate google maps directions api with react-native-maps
- display navigation route on ios and android maps
- update route line when user moves origin or destination

## When to choose
- you already use react-native-maps and need route drawing
- you want a simple drop-in component with minimal setup
- your app targets both iOS and Android with Google Maps Directions API

## When to avoid
- you need turn-by-turn navigation rather than a drawn route
- you want directions without a Google Maps API key or billing account
- you use MapKit or another mapping provider exclusively

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, geospatial
- domain: mobile-development, web-development
- platform: -
- tags: react-native, google-maps, directions, routing, mapview, polyline, maps, android, ios, mobile, javascript

## Member repositories
- bramus/react-native-maps-directions (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.902316+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:58:17.602388+00:00, confidence not recorded.
  - readme: https://github.com/bramus/react-native-maps-directions (fetched 2026-08-28T04:04:13.902316+00:00, sha ba2e8717d66f)
  - registry_npm: https://registry.npmjs.org/react-native-maps-directions (fetched 2026-08-29T12:13:07.019483+00:00, sha 1f2af8297077)
- Data as of 2026-08-30T08:39:29.467469+00:00.
