Interactive 3D visualization of houses in the historic Glenora neighborhood of Edmonton, Alberta, Canada.
- 3D visualization of houses in the Glenora neighborhood
- Houses are categorized and color-coded based on their historic designation status
- Interactive map view option to see houses on a real map
- Property details panel with information about each house
- Filtering options to view different types of historic properties
- Three.js for 3D rendering
- Mapbox GL for interactive map views
- Vite for development and building
- Clone this repository
- Install dependencies:
npm install - Create a
.envfile in the project root and add your Mapbox access token:MAPBOX_ACCESS_TOKEN=your_mapbox_token_here - Open
src/main.jsand replaceREPLACE_WITH_YOUR_MAPBOX_TOKENwith your actual Mapbox token, or modify the code to use the environment variable. - Start the development server:
npm run dev - Open your browser and navigate to
http://localhost:5173
- Left Mouse Button + Drag: Rotate the camera
- Right Mouse Button + Drag: Pan the camera
- Scroll Wheel: Zoom in/out
- Click on House: View property details
- Toggle Map View: Switch between 3D view and map view
- Toggle Houses: Show/hide house models
- Filter Type: Filter houses by historic designation type
The current application uses sample data. In a production environment, you would connect to:
- City of Edmonton Open Data Portal
- Provincial heritage records
- GIS data for accurate house locations and sizes
- Add more detailed house models based on architectural styles
- Include terrain elevation data
- Add timeline slider to view neighborhood development over time
- Implement AR view for mobile devices
- Add ability to upload and integrate user photos of properties