Skip to content

This is a React-based 360° Virtual Tour application that allows users to explore different locations through interactive panoramic images with customizable hotspots.

License

Notifications You must be signed in to change notification settings

Razee4315/nutech-tour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuTech 360° Virtual Tour

Project Overview

This is a React-based 360° Virtual Tour application that allows users to explore different locations through interactive panoramic images with customizable hotspots.

Features

  • 360° Panoramic Image Viewing
  • Interactive Hotspots
  • Multiple Location Navigation
  • Responsive Design

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js (v14.0.0 or later)
  • npm (v6.0.0 or later)

Installation

  1. Clone the repository
git clone https://github.com/Razee4315/nutech-tour.git
cd nutech-tour
  1. Install dependencies
npm install --legacy-peer-deps

Running the Project

To run the project locally:

npm start

The application will open in your default browser at http://localhost:3000

Understanding Hotspots

What are Hotspots?

Hotspots are interactive points on a 360° panoramic image that users can click to:

  • Navigate between scenes
  • Display information
  • Trigger custom actions

Hotspot Types in This Project

  1. Custom Hotspots

    • Allow custom interactions
    • Can navigate between images
    • Defined with type: "custom"
  2. Info Hotspots

    • Display informational alerts
    • Defined with type: "info"

Hotspot Configuration Example

{
  pitch: -10,  // Vertical position
  yaw: 0,      // Horizontal position
  type: "custom",
  text: "Go to Second Image",
  handleClick: (setCurrentLocation) => {
    setCurrentLocation(1);  // Change to the second location
  }
}

Project Structure

  • src/components/TourView.js: Main component for 360° tour
  • public/images/: Store your 360° panoramic images here
  • src/styles/: Additional styling (if needed)

Troubleshooting

  • Ensure all images are in the correct format (jpg/png)
  • Check browser console for any errors
  • Verify Node.js and npm versions

Technologies Used

  • React
  • Pannellum React
  • Styled Components

Contact

Our Team members:

Project Link: https://razee4315.github.io/nutech-tour/

About

This is a React-based 360° Virtual Tour application that allows users to explore different locations through interactive panoramic images with customizable hotspots.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •