Welcome to NYC, an interactive map-based website that takes you on a journey through the heart of New York City! This website allows users to explore NYC’s iconic landmarks through their appearances in movies, music, and books. It offers an immersive and interactive experience with a combination of animations, a searchable map, and multimedia elements.
- Login Page: Allows users to log in and access features like personalized preferences.
- Signup Page: Enables new users to create an account with:
- Password Confirmation: Ensures security by verifying password inputs.
- Redirects to the homepage after successful login.
- Feature: The homepage greets users with an engaging scrolling video animation of NYC-themed movie clips.
- Design: The large "NEW YORK CITY" text provides a cinematic feel.
- Purpose: The scrolling videos introduce users to the theme of the website and set a visually engaging tone.
-
Search Bar:
- Enables users to search for landmarks by entering the name of a movie, song, book, or location.
- Automatically zooms the map to the matching landmark upon finding a match.
-
Interactive Map:
- Powered by Leaflet.js, the map showcases NYC landmarks with clickable markers.
- Each marker opens a popup with:
- 🎞️ Movies filmed at the location.
- 🎵 Songs inspired by the landmark.
- 📚 Books set in the area.
- 🧐 Fun trivia about the location.
-
Gramophone Feature:
- A gramophone icon located on the map allows users to enjoy the nostalgic track "Autumn in New York".
- Hover: Starts the music.
- Click: Pauses the music.
- Popups on Map Markers:
- Display detailed cultural information about each NYC landmark.
- Include associated movies, songs, books, and trivia.
- Purpose: Helps users learn more about the historical and cultural significance of NYC’s landmarks.
- A visually engaging filmstrip animation of movie clips related to NYC.
- Loops continuously, providing an endless stream of cinematic scenes.
- Clickable markers for each landmark.
- Popups contain detailed information, including:
- 🎞️ Movies filmed there.
- 🎵 Songs inspired by the location.
- 📚 Books written about the area.
- 🧐 Trivia for fun facts.
- Type the name of a movie, song, book, or location.
- The map automatically zooms into the relevant landmark.
- A gramophone feature adds an auditory layer of immersion:
- Hover: Starts playing nostalgic NYC-themed music.
- Click: Pauses the music.
- Frontend:
- HTML5, CSS3, JavaScript (ES6+)
- Leaflet.js for interactive maps
- Design:
- Custom CSS animations for filmstrip and smooth map interactions
- Fully responsive design for desktop and mobile users
- Hosting:
- GitHub Pages for static file hosting
-
Homepage Introduction:
- The homepage showcases a scrolling video filmstrip and the bold "NEW YORK CITY" text.
-
Search and Explore:
- Users can search for landmarks by typing movie, song, or book names in the search bar.
-
Interactive Popups:
- Each map marker reveals popups with detailed cultural connections to movies, songs, and books.
-
Audio Control:
- Hovering over the gramophone plays the background music, and clicking pauses it.
- Open
nyc.htmland locate thelocationsarray. - Add a new landmark in the following format:
{ name: "New Landmark Name", coords: [latitude, longitude], movies: ["Movie 1", "Movie 2"], songs: ["Song 1", "Song 2"], books: ["Book 1", "Book 2"], trivia: "Interesting fact about the location." }
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m "Added a new feature" - Push your changes:
git push origin feature-name
- Open a pull request on GitHub.
If you found this project helpful, please give it a ⭐!
Feel free to open an issue for any questions or suggestions.
This project is licensed under the MIT License. See the LICENSE file for details.
- Leaflet.js for powering the interactive maps.
- OpenStreetMap for the map tiles.
- NYC’s cultural legacy for inspiring this project.
New York City has been featured in over 3000 movies — more than any other city in the world! 🎞️





