Skip to content

An interactive mobile app built with React Native and Expo that shows hospital locations on a custom-styled map. Users can tap on markers to view hospital details and open directions in Google Maps.

License

Notifications You must be signed in to change notification settings

SasadaSaumya/React-Native-Expo-Maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Native-Expo-Maps

A React Native Expo app demonstrating how to display a map with user location and markers using react-native-maps and expo-location.

App Screenshot 1 App Screenshot 2 App Screenshot 3

Features

  • 🗺️ Displays a map centered on Colombo, Sri Lanka.
  • 📍 Shows the user's current location on the map.
  • 📌 Includes predefined markers with titles and descriptions.
  • 🧭 Supports zooming and panning.
  • 💬 Opens a modal with marker details on press.
  • 🧭 Navigate to marker location from the modal via external map.

Installation

  1. Clone the repository:

    git clone https://github.com/SasadaSaumya/React-Native-Expo-Maps.git
    cd React-Native-Expo-Maps
  2. Install dependencies:

    npm install
    # or
    yarn install
  3. Install Expo CLI globally if you haven't already:

    npm install -g expo-cli

Running the App

Start the Expo development server:

expo start

You can then run the app on an emulator or your physical device using the Expo Go app.

Dependencies

Notes

  • The app requests foreground location permission at launch.
  • The initial map region centers around Colombo with custom markers.
  • Marker click opens a styled modal with title, description, and a button to open external maps for directions.

Feel free to contribute, suggest improvements, or raise issues!


Author: Sasanda Saumya
GitHub: https://github.com/SasadaSaumya

About

An interactive mobile app built with React Native and Expo that shows hospital locations on a custom-styled map. Users can tap on markers to view hospital details and open directions in Google Maps.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published