Skip to content

Object oriented layer classes#681

Merged
digitaltom merged 11 commits intomainfrom
oop_layers
Mar 23, 2026
Merged

Object oriented layer classes#681
digitaltom merged 11 commits intomainfrom
oop_layers

Conversation

@digitaltom
Copy link
Collaborator

@digitaltom digitaltom commented Mar 17, 2026

This PR refactors the layer system from a procedural, event-based architecture to an object-oriented, promise-based design. The layers array now holds class instances (GeoJSONLayer, OverpassLayer, WikipediaLayer, BasemapLayer) instead of plain JSON objects, providing a cleaner interface for adding new layer types.

@digitaltom digitaltom merged commit e8b6113 into main Mar 23, 2026
8 checks passed
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