Skip to content

feat: initial release of mapbox styles, NSR layer defs, and pin icon types#1

Merged
gorandalum merged 2 commits into
mainfrom
feat/initial-release
Jul 9, 2026
Merged

feat: initial release of mapbox styles, NSR layer defs, and pin icon types#1
gorandalum merged 2 commits into
mainfrom
feat/initial-release

Conversation

@gorandalum

Copy link
Copy Markdown
Collaborator

Initial contents of @atb-as/mapbox-shared. This code has lived in the mobile app, but now planner-web is going to use it too, so it's being lifted into a shared package.

Includes light and dark style JSONs parameterized on mapboxUserName / mapboxNsrTilesetId, the color-theme payload for the Standard basemap import, NSR layer metadata (nsrCircleLayers, nsrSymbolLayers) with zoom-transition math, and pin naming types (PinIcon, NsrPinIconCode, ...) matching AtB-AS/map-sprites.

src/types.ts vendors Expression / FilterExpression from @rnmapbox/maps instead of re-exporting them, because @rnmapbox/maps's exports allowlist blocks the deep import path and a re-export won't resolve for consumers. Inlining also avoids forcing web consumers to install @rnmapbox/maps.

@gorandalum gorandalum merged commit 7db6717 into main Jul 9, 2026
1 check passed
@gorandalum gorandalum deleted the feat/initial-release branch July 9, 2026 12:58
@github-actions github-actions Bot mentioned this pull request Jul 9, 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.

2 participants