Skip to content

fix(map): resolve #54 and improve mockproducer realism#56

Merged
TenathDilusha merged 1 commit into
mainfrom
map-data
May 11, 2026
Merged

fix(map): resolve #54 and improve mockproducer realism#56
TenathDilusha merged 1 commit into
mainfrom
map-data

Conversation

@TenathDilusha
Copy link
Copy Markdown
Contributor

Merge Description

Resolved #54 by fixing missing camera GPS metadata and improving mock data generation.

Changes Included

  • Added latitude/longitude coordinates for camera records used by map endpoints
  • Fixed /api/map/heatmap returning empty data
  • Fixed /api/map/incidents returning empty data
  • Expanded mock producer with 8 cameras for more realistic multi-camera traffic simulation
  • Improved map rendering support for both public and control dashboards

Result

  • Public live map now displays heatmap data and incident markers
  • Control dashboard map now shows active pins and traffic data
  • Better local/dev testing with realistic mock streams

Notes

Suggested Colombo-area coordinates were applied for existing cameras.

Closes #54

@TenathDilusha TenathDilusha merged commit 4b30428 into main May 11, 2026
1 of 3 checks passed
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Camera GPS coordinates missing — heatmap and incident map return empty

1 participant