Discount-ville Africa

Votre marketplace pour les meilleures offres

senior developer er (Copy

# PRESENZ 3D Map - Simple Build Guide ## 🎯 What to Build A single mobile home page showing a 3D map with POI markers, matching the screenshot's dark pu...

Employer: tech comp

Location: Remote

# PRESENZ 3D Map - Simple Build Guide ## 🎯 What to Build A single mobile home page showing a 3D map with POI markers, matching the screenshot's dark purple/blue aesthetic. --- ## πŸ› οΈ Tech Stack - **React + TypeScript** - **react-map-gl** (for Mapbox integration) - **shadcn/ui** (for buttons and cards) - **Framer Motion** (for animations) - **Tailwind CSS** (for styling) --- ## 🎨 Design Requirements ### Colors ``` Background: #1a1d2e (dark blue) Accent: #00d4ff (cyan glow) Glass effect: rgba(255, 255, 255, 0.08) with backdrop blur Text: White with shadow for readability ``` ### Mobile Layout (375px width) ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ ← Back [Status] β”‚ ` from react-map-gl - Dark style with 3D buildings enabled - Initial camera position set to show city view ### 2. CustomMarker (for each POI) ``` - Position: longitude/latitude coordinates - Content: Brand logo in circular container - Style: White background, small shadow - Size: ~40px diameter ``` ### 3. CalloutLabel ``` - White rounded rectangle background - Dark text inside - Small arrow pointing to map feature - Positioned absolutely over map - Examples: "Time + weather depending lighting", "3D lane models" ``` ### 4. Top Navigation Bar ``` - Fixed at top - Back button on left - Status icons on right (signal, wifi, battery) - Semi-transparent background ``` --- ## 🎬 Animations (Keep Simple) ### On Page Load 1. Map fades in (0.5s) 2. Markers pop in one by one (0.3s each, staggered) 3. Callout labels fade in after markers ### Interactions - Marker hover: Slight scale up (1.1x) - Map: Standard Mapbox controls (pinch zoom, rotate, tilt) --- ## πŸ“¦ Sample POI Data ```javascript [ { id: 'cvs-1', name: 'CVS', coordinates: { lng: -73.9857, lat: 40.7580 }, logo: '/logos/cvs.png' }, { id: '7eleven-1', name: '7-Eleven', coordinates: { lng: -73.9867, lat: 40.7590 }, logo: '/logos/7eleven.png' }, { id: 'starbucks-1', name: 'Starbucks', coordinates: { lng: -73.9847, lat: 40.7570 }, logo: '/logos/starbucks.png' }, { id: 'pizzahut-1', name: 'Pizza Hut', coordinates: { lng: -73.9837, lat: 40.7585 }, logo: '/logos/pizzahut.png' } ] ``` --- ## πŸ“‹ File Structure (Keep It Simple) ``` src/ β”œβ”€β”€ components/ β”‚ β”œβ”€β”€ Map.tsx # Main map component β”‚ β”œβ”€β”€ POIMarker.tsx # Brand logo markers β”‚ └── CalloutLabel.tsx # White info bubbles β”œβ”€β”€ App.tsx # Main app └── data/ └── locations.ts # POI data ``` --- ## βœ… MVP Checklist **Must Have:** - βœ… 3D map view (Mapbox dark style) - βœ… 3D buildings visible - βœ… 4 POI markers with brand logos - βœ… 3-5 callout labels pointing to features - βœ… Mobile responsive (375px) - βœ… Top navigation bar **Nice to Have (if time permits):** - Time-based lighting changes - Marker animations - Click on marker to show info --- ## 🎯 Success Criteria **Your page should show:** 1. A 3D city view from an angle (like the screenshot) 2. Tall buildings with blue/purple tones 3. Brand logos (CVS, 7-Eleven, etc.) floating at their locations 4. White rounded labels describing features 5. Dark theme with good contrast 6. Works on mobile size (375px) **Quality benchmark:** If it looks 70% like the screenshot, you're ready to show the client. --- ## πŸš€ Quick Start Commands ```bash npm create vite@latest presenz-map -- --template react-ts cd presenz-map npm install react-map-gl mapbox-gl framer-motion npx shadcn@latest init npm run dev ``` **That's it!** Keep it simple, focus on getting the 3D map view with markers working first, then add polish.

Browse more employment opportunities