{"id":25386308,"url":"https://github.com/snowycrest/nextjs-interactive-map","last_synced_at":"2026-02-10T21:02:41.632Z","repository":{"id":274075259,"uuid":"916704610","full_name":"SnowyCrest/nextjs-interactive-map","owner":"SnowyCrest","description":"An interactive map component built with Mapbox GL and Next.js, where users can create, view, and delete markers on the map.","archived":false,"fork":false,"pushed_at":"2025-02-13T18:48:06.000Z","size":3597,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T18:02:45.613Z","etag":null,"topics":["component","good-first-issue","javascript","mapbox-gl-js","nextjs15","page","reactjs"],"latest_commit_sha":null,"homepage":"https://nextjs-interactivemap.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SnowyCrest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-14T16:01:15.000Z","updated_at":"2025-04-08T10:27:58.000Z","dependencies_parsed_at":"2025-04-09T17:56:41.542Z","dependency_job_id":null,"html_url":"https://github.com/SnowyCrest/nextjs-interactive-map","commit_stats":null,"previous_names":["snowycrest/nextjs-interactive-map"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SnowyCrest/nextjs-interactive-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowyCrest%2Fnextjs-interactive-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowyCrest%2Fnextjs-interactive-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowyCrest%2Fnextjs-interactive-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowyCrest%2Fnextjs-interactive-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnowyCrest","download_url":"https://codeload.github.com/SnowyCrest/nextjs-interactive-map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnowyCrest%2Fnextjs-interactive-map/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269891731,"owners_count":24491767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","good-first-issue","javascript","mapbox-gl-js","nextjs15","page","reactjs"],"created_at":"2025-02-15T10:30:49.338Z","updated_at":"2026-02-10T21:02:36.604Z","avatar_url":"https://github.com/SnowyCrest.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌎 Interactive Globe Map\n\nAn interactive web application built with Next.js that allows users to create and manage markers on a 3D globe map.\n\n## ✨ Features\n\n- 🌐 Interactive 3D Globe visualization using Mapbox GL\n- 📍 Add custom markers with titles, descriptions, and images\n- 🔗 Include multiple links for each marker\n- 🎯 Click-to-add marker functionality\n- 🗑️ Remove markers with a single click\n- 📍 Real-time coordinate display\n- 🔄 Toggle marker interaction mode\n\n| Add and remove markers     | View information on the markers   |\n| -------------------------- | --------------------------------- |\n| ![Map1](./app/assets/MapShowcase1.png) | ![Map2](./app/assets/MapShowcase2.png)    |\n\n## 🚀 Getting Started\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/nextjs-interactive-map.git\ncd nextjs-interactive-map\n```\n\n2. Install dependencies:\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Create a `.env.local` file in the root directory and add your Mapbox token:\n```env\nNEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here\n```\n\n4. Run the development server:\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to view the application.\n\n## 📦 Dependencies\n\n- `next`: ^14.0.0\n- `react`: ^18.0.0\n- `react-map-gl`: ^7.1.0\n- `mapbox-gl`: ^2.15.0\n- `lucide-react`: For icons\n- `tailwindcss`: For styling\n\n## 🛠️ Configuration\n\nThe map is configured to use the Globe projection by default. You can customize the initial view in the `InteractiveMap.jsx` component:\n\n```javascript\ninitialViewState={{\n  longitude: 0,\n  latitude: 20,\n  zoom: 1.5,\n  pitch: 0\n}}\n```\n\n## 🎨 Styling\n\nThe project uses Tailwind CSS for styling.\n\n## 👨‍💻 Author\n\n**SnowyCrest**\n- GitHub: [@SnowyCrest](https://github.com/SnowyCrest)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowycrest%2Fnextjs-interactive-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowycrest%2Fnextjs-interactive-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowycrest%2Fnextjs-interactive-map/lists"}