Skip to content

This project is a real-time map application that displays your current location and simulates a route using a marker that moves in real-time. It's built using React Native and Expo, making it easy to run on both Android and iOS devices.

Notifications You must be signed in to change notification settings

FranciscoVieir/rn-maps

Repository files navigation

Real-Time Map with Route Simulation

Purpose

  • The main purpose of this project is to provide a simple example of how to create a real-time map application using React Native and Expo. It demonstrates how to request location permissions, track the user's location in real-time, and display it on a map. Additionally, it simulates movement by continuously updating the marker's position as if you were following a route.

Map Preview

Screenshot:

Screenshot map


Technologies Used

  • React Native
  • Expo
  • Expo Location Api
  • React Native Maps

How to Use

Clone the repository to your local machine:

git clone [email protected]:FranciscoVieir/rn-maps.git

Access the folder

cd rnmaps

Install dependencies:

npm install

or

yarn start

Availble Scripts

In the project, directory, you can run the following scripts:

  • npm run start or yarn start: Starts the Expo development server.
  • npm run android or yarn android: Runs the app on an Android emulator/simulator.
  • npm run ios or yarn ios: Runs the app on an iOS simulator.
  • npm run eject or yarn eject: Ejects the app from Expo, if needed.

About

This project is a real-time map application that displays your current location and simulates a route using a marker that moves in real-time. It's built using React Native and Expo, making it easy to run on both Android and iOS devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published