Web Map View
Hiển thị dữ liệu trên bản đồ tương tác với markers, routes và heatmap
Tổng quan Map View
Map View hiển thị records có thông tin địa lý trên bản đồ tương tác, giúp visualize locations, routes và density.
Hỗ trợ markers với clustering, info windows, routes giữa các điểm, heatmap và geolocation tự động.
Điểm chính
• Markers: Hiển thị records dạng markers trên bản đồ
• Clustering: Tự động gộp markers gần nhau
• Info Windows: Popup hiển thị thông tin record khi click marker
• Routes: Vẽ routes giữa các điểm
• Heatmap: Density visualization
• Geolocation: Tự động lấy tọa độ từ địa chỉ
• Custom Icons: Icons tùy chỉnh theo status/type
• Filters: Filter markers theo conditions
Use Cases
Ứng dụng Map View
| Nghiệp vụ | Markers | Routes | Lợi ích |
|---|---|---|---|
| Customer Locations | Customers | None | Visualize customer distribution, plan visits |
| Delivery Routes | Delivery orders | Optimized routes | Plan efficient delivery routes |
| Field Service | Service tickets | Technician routes | Assign tickets by location |
| Store Locator | Retail stores | None | Show nearest stores to customers |
| Asset Tracking | Equipment/vehicles | Movement history | Track asset locations |
Geolocation
Điểm chính
• Auto-geocoding: Tự động convert địa chỉ thành lat/lng
• Address Parser: Parse street, city, country từ address field
• Geocoding API: Sử dụng Google Maps/OpenStreetMap API
• Caching: Cache geocoded coordinates để tránh API calls
• Batch Geocoding: Geocode nhiều addresses cùng lúc
• Manual Override: Cho phép điều chỉnh coordinates thủ công
Best Practices
Điểm chính
• Enable clustering cho datasets lớn để tránh quá nhiều markers
• Sử dụng custom icons để phân biệt marker types
• Cache geocoded coordinates để giảm API costs
• Validate addresses trước khi geocode
• Sử dụng heatmap cho density analysis
• Optimize routes trước khi hiển thị