Skip to content

feat: add GeoJSON layers with below anchors and style slots - #42

Merged
Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
agents/geojson-integration-plan
Oct 9, 2026
Merged

Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
agents/geojson-integration-plan

Conversation

@WipeAir

Copy link
Copy Markdown
Member

Adds GeoJSON as a layer source: <Fill data> and <Line data> project GeoJSON into the same paint pipeline as tile features, and a <GeoJson> composite draws fill, outline and a pin per Point feature. Any layer can take below="<kind>" to paint just beneath the first layer of that canonical kind, and Neutral, Light and Dark gain belowRoads and belowBuildings slots, so custom geometry such as a city centre can sit under the street network. fit="data" fits the viewport to markers plus GeoJSON bounds. Rings are rewound so holes render under the default fill rule, and malformed features are skipped with a GEOJSON_INVALID warning. Includes docs in docs/geojson.md and a new city-centre golden; all existing goldens are unchanged.

@WipeAir
Andre虂 L. (WipeAir) merged commit 5d486f9 into main Oct 9, 2026
10 checks passed
@WipeAir
Andre虂 L. (WipeAir) deleted the agents/geojson-integration-plan branch October 9, 2026 17:11
@abi-jarvis abi-jarvis Bot mentioned this pull request Oct 7, 2026
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.

1 participant