0.0.38 • Published 12 months ago

map-navigation-v v0.0.38

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

map-navigation-v

Enhances React Native Maps with Realtime Navigation.

Please note that this module is usable but still under heavy development. Some properties and/or component names might change without notice.

alt text

Installation

React Native >= 0.49

npm i map-navigation-v

Example

Head over to the example application to get started right away.

The example application uses most components and api modules of this library and gets you started in a useful direction.

Components

The library exposes the following modules and components.

The main component is MapViewNavigation:

<MapViewNavigation /> Component API

The library also ships with various UI components:

<DirectionInputBox /> Component API

<DirectionsListView /> Component API

<DurationDistanceLabel /> Component API

<DurationDistanceView /> Component API

<ManeuverView /> Component API

<ManeuverLabel /> Component API

<TravelModeBox /> Component API

These are internal components used by the library:

<ManeuverArrow /> Component API

<CloseButton /> Component API

<PositionMarker /> Component API

<RouteMarker /> Component API

<RouterPolyline /> Component API

General Usage