Project

General

Profile

Edit Copy Actions

Feature #5529

open

Fieldstaff Daily Job Route Optimization

Added by Yalavarthi Thriveni 6 days ago. Updated 4 days ago.

Status:
New
Priority:
High
Target version:
Start date:
12/03/2025
Due date:
% Done:

2%

Estimated time:
(Total: 73:00 h)
Spent time:
(Total: 1:00 h)

Description

As a Fieldstaff/Installer
I want to view all my assigned jobs for a selected date as an ordered route map
So that I can know which job to visit first, second, third based on shortest travel distance
And reduce unnecessary travel time between customer locations

Acceptance Criteria
AC1: Show all jobs assigned to the fieldstaff for the selected date
Select a date → system fetches all jobs assigned to the user for that date.
Jobs include:Customer name, Location (latitude/longitude or address),Preferred customer timings

AC2: Display jobs on a map (Google Maps / Mapbox)
All jobs for the day must be shown as pins on the map.
Each pin must have a job number (1, 2, 3…).
Hover/clicking on a pin must show: Customer name, Job details

AC3: Automatic route ordering (Shortest Distance First)
System must calculate the optimal job sequence:
Job 1 → Closest
Job 2 → Next closest
Job 3 → Next
And so on…

AC4: Show the route path
Draw a polyline/path connecting Job 1 → 2 → 3…
Show estimated travel time between each point.


Add

Subtasks 11 (11 open0 closed)

Feature #5530: API: Fetch fieldstaff jobs by dateResolvedRubanraj c12/03/2025

Delete link to subtaskActions
Feature #5532: Integrate Geocoding (convert address → lat, long)NewRubanraj c12/03/2025

Delete link to subtaskActions
Feature #5534: Integrate Distance Matrix API & Route Optimization LogicIn ProgressRubanraj c12/05/2025

Delete link to subtaskActions
Feature #5535: Get Optimized Route with Error handling + API response format + testingNewRubanraj c12/03/2025

Delete link to subtaskActions
Feature #5536: Create Date Selection UI & call fieldstaff selected date wise jobs New12/03/2025

Delete link to subtaskActions
Feature #5537: Google Maps / Mapbox Map Setup in the fieldstaff dashboard New12/03/2025

Delete link to subtaskActions
Feature #5538: Show job markers on map based on the distance New12/03/2025

Delete link to subtaskActions
Feature #5539: Draw route polyline (path line)New12/03/2025

Delete link to subtaskActions
Feature #5540: Implement marker click popup & Auto-fit map to show all locationsNew12/03/2025

Delete link to subtaskActions
Feature #5541: UI polish + loader + error toasters & Testing across devices & browsersNew12/03/2025

Delete link to subtaskActions
Feature #5542: TestingNew12/03/2025

Delete link to subtaskActions

Add

Related issues

Edit Copy Actions

Also available in: Atom PDF