Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bug: Some land project circle markers are not rendering correctly

Đang mở
#24 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, react
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Bắt đầu bằng cách kiểm tra logic render bản đồ và fixture GeoJSON tại public/fixtures/land_project_sites.geojson, đồng thời so sánh các marker được render đúng với các marker bị lỗi. Sử dụng tài liệu tham khảo của Leaflet và React Leaflet để kiểm tra tọa độ, kích thước vòng tròn, thứ tự lớp và hành vi zoom; công việc được xem là hoàn tất khi mọi vòng tròn dự án đều đầy đủ, nằm chính giữa, có tỷ lệ nhất quán, đồng thời các nhãn, tương tác và popup hiện có vẫn hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Advanced California Tribal GIS Hackathon
Issue created with ChatGPT models' help¹

Description

Some land project circle markers are not rendering correctly on the ecosystem map view¹. As visible in the screenshot below, certain project markers display incomplete or incorrectly positioned circle overlays while other markers render normally².

This bug appears related to how GeoJSON project data is being consumed or rendered into map circle layers/markers³. The application currently uses a GeoJSON file to display land project sites on the map, and contributors should investigate whether the issue originates from malformed GeoJSON coordinates, radius calculations, map projection behavior, layer rendering order, or component styling⁴.

This is intended to be a relatively small bug-fix issue focused on correcting marker/circle rendering behavior while preserving the existing map interaction system¹.

Here is GeoJSON file: https://github.com/OpenSourceFellows/map-dashboard/blob/main/public/fixtures/land_project_sites.geojson?short_path=a7ebddc

Image

Goals

  • Fix incorrectly rendered land project circle markers¹
  • Ensure all GeoJSON-based project markers render consistently²
  • Preserve existing map functionality and interactions³
  • Verify circles render at correct location and scale⁴
  • Prevent incomplete or clipped circle overlays¹

Implementation Instructions

  • Investigate current GeoJSON rendering logic²
  • Compare correctly rendered markers against broken markers³
  • Verify coordinate ordering and GeoJSON structure⁴
  • Check map layer rendering order and styling¹
  • Inspect radius calculation logic for circle overlays²
  • Ensure map projection/zoom scaling is handled consistently³
  • Verify markers render correctly at different zoom levels⁴
  • Preserve existing popup/label behavior¹
  • Please add comments/documentation if root cause is non-obvious²
  • Contributor may use browser devtools or map debugging utilities³

Expected Functionalities

Correct Circle Rendering
  • All land project markers render complete circle overlays⁴
  • Circles appear centered on intended project location¹
  • Marker visuals remain consistent across projects²
Stable Map Behavior
  • Existing labels/tooltips continue functioning³
  • Map interactions remain unaffected⁴
  • Rendering remains stable across zoom levels¹

Possible Investigation Areas

  • GeoJSON coordinate formatting²
  • Invalid geometry or polygon data³
  • Latitude/longitude ordering⁴
  • Circle radius scaling logic¹
  • Map library rendering edge cases²
  • Layer z-index or clipping behavior³
  • Projection inconsistencies⁴

Acceptance Criteria

  • All project circles render correctly¹
  • No incomplete or broken circle overlays remain²
  • GeoJSON markers appear at correct coordinates³
  • Existing map interactions still function⁴
  • Rendering works consistently across zoom levels¹
  • Fix does not introduce regressions to other markers²

Resources

¹ [GeoJSON Specification Documentation](https://geojson.org/?utm_source=chatgpt.com)
² [Leaflet GeoJSON Documentation](https://leafletjs.com/examples/geojson/?utm_source=chatgpt.com)
³ [MDN GeoJSON Guide](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON?utm_source=chatgpt.com)
⁴ [React Leaflet Documentation](https://react-leaflet.js.org/?utm_source=chatgpt.com)

Reference GeoJSON file:

Reference Figma Design:
https://www.figma.com/proto/e9z8edludVssFYABGEWsoI/OpenNature-Map--Hackathons-?node-id=1-1465&viewport=787%2C545%2C0.11&t=Xwc2asfn9Qksi99P-8&scaling=scale-down&content-scaling=fixed&starting-point-node-id=1%3A896&page-id=0%3A1&hide-ui=1

Ngôn ngữ chính
HTML
Star
2
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenSourceFellows/map_dashboard_hackathon

Tất cả issue của OpenSourceFellows/map_dashboard_hackathon

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.