arn-c0de / arn-c0de/Geograbber

🚀 Feature Request: User Path Tracking in MapActivity

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
area: map design enhancement medium
Dominant language
Java
Stars
29
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### 📝 Summary
Add functionality for users to **record, display, and manage their movement path** on the map. The system should visualize their route in real time with manual controls to start, stop, and clear tracking.

---

### ⚙️ Functional Requirements

#### 🧩 UI Controls
- Add buttons to the map/filter UI:
- ▶️ **Start Path Recording**
- ⏹️ **Stop Path Recording**
- 🧹 **Clear Path** (optional)
- Buttons visible only when the map is active.

#### 📡 Data Collection
- On **Start Path Recording**:
- Initialize an empty list `recordedPath = mutableListOf()`.
- Begin receiving location updates.
- On each new location:
- Append `(latitude, longitude)` to the list.
- Update a `Polyline` on the map.

Contributor guide

Open the contributing guide

Research direction

Locate MapActivity and the map/filter UI first, then trace how location updates are currently received and how LatLng and map overlays are handled. Add controls for starting, stopping, and clearing recording, update the Polyline for each recorded location, and verify that controls only appear while the map is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.