How alti3/hexpicker works
Component Breakdown
A. Presentation Layer (Top):
• Components for:
• View Container
• Control Buttons Panel
• Selection Counter Display
B. Application Logic Layer (Middle):
• H3 Cell Manager (handles cell selection and state)
• Polygon Drawing Controller
• Clipboard Integration
• Event Handler System
C. External Services/Libraries Layer (Bottom):
• Leaflet.js
• H3-js Library
Connection and Data Flow
• User Interface → Application Logic
• Application Logic → External Libraries
• H3 Cell IDs
• GeoJSON data
• Tile requests
Specific Elements
• Tile server connection
• H3 indexing process flow
• Polygon selection mechanism
• Clipboard API integration
• Event propagation paths