Skip to content
R

react-native-maps-directions

Directions Component for react-native-maps

by bramusFree

#803in UI Libraries
0In stores

Description

react-native-maps-directions is a component that draws a route between two coordinates on a react-native-maps map. It is powered by the Goog…

Highlights

  • Draws routes on react-native-maps
  • Uses the Google Maps Directions API
  • Waypoints and transport modes
  • Language option and event callbacks

Ratings & Reviews

No ratings yet

Be the first to rate react-native-maps-directions.

People also visit

R

rnmapbox/maps

Mapbox maps for custom map experiences

UI Libraries
Launch
R

react-native-maps

React Native Mapview component for iOS + Android

UI Libraries
Launch
R

react-native-google-places-autocomplete

Customizable Google Places autocomplete component for iOS

UI Libraries
Launch
R

react-google-maps

React.js Google Maps integration component

UI Libraries
Launch
R

React Native Map Link

Open the map app of the user's choice

Utilities
Launch
R

@react-google-maps/api

React.js Google Maps API integration

UI Libraries
Launch

react-native-maps-directions FAQ

What does react-native-maps-directions do?

It draws a route between two points on a react-native-maps map, using the Google Maps Directions API.

What do I need to use it?

A Google Maps Directions API key, passed as apikey. The API must be enabled for that key in the Google API Console.

Can I add stops along the route?

Yes. The waypoints prop takes an array of stops between the origin and destination.

Which transport modes are available?

The mode prop sets the transport mode and defaults to DRIVING. The README lists the allowed values.

How do I install it?

Install react-native-maps-directions with npm or yarn, as the README's installation section shows.

What are the best react-native-maps-directions alternatives?

Popular alternatives to react-native-maps-directions include rnmapbox/maps, react-native-maps and react-native-google-places-autocomplete. See all react-native-maps-directions alternatives

Developer Stuff

Badges