Bug: Some land project circle markers are not rendering correctly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- javascript, react
Direzione di ricerca
Inizia ispezionando la logica di rendering della mappa e il fixture GeoJSON in public/fixtures/land_project_sites.geojson, confrontando i marker renderizzati correttamente con quelli difettosi. Usa i riferimenti di Leaflet e React Leaflet per verificare le coordinate, le dimensioni dei cerchi, la sovrapposizione dei layer e il comportamento dello zoom; il lavoro è completato quando ogni cerchio del progetto è completo, centrato e scalato in modo coerente, e le etichette, le interazioni e i popup esistenti continuano a funzionare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
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
- Lingua principale
- HTML
- Stelle
- 2
- Fork
- 11
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenSourceFellows/map_dashboard_hackathon
-
California Tribal GIS Hackathon Intermediate
Difficoltà 2/5 Mezza giornata Idoneità per principianti 68/100
-
California Tribal GIS Hackathon Intermediate
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Endpoint to Fetch UsersApertaAdvanced California Tribal GIS Hackathon
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Endpoint to update UsersApertaAdvanced California Tribal GIS Hackathon
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Endpoint to create UsersApertaAdvanced California Tribal GIS Hackathon
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di OpenSourceFellows/map_dashboard_hackathon
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
keyxmakerx/Chronicle#1532 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement feature good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Vakore/ZappierGames#147 ·
-
[Bug]: 【优化】对话消息底部增加发送时间展示Apertabug desktop v3 windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
esengine/DeepSeek-Reasonix#13697 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
issue: Picking a prompt from the / menu in a channel inserts a command chip instead of the promptApertabug confirmed issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 78/100
open-webui/open-webui#32712 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno