Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
90f0863
Make bearing a clockwise map rotation
Sep 1, 2026
a99303f
Add react-vectortile: MapLibre vector styles on any backend
Sep 3, 2026
c023895
Track the vendored renderer in react-vectortile
Sep 3, 2026
f0da924
Track the vendored wasm binary too
Sep 3, 2026
5316c42
Sync renderer with compiled filters (warm render 115 -> 66 ms)
Sep 3, 2026
9a1bacd
Add a live-recolouring vector tile sample
wf9a5m75 Sep 4, 2026
2ae526d
Pick up the whole-pixel marker tile draw
wf9a5m75 Sep 4, 2026
e000747
Pick up the marker overdraw fix
wf9a5m75 Sep 5, 2026
6a8199c
Pick up the service worker tile cache
wf9a5m75 Sep 5, 2026
54d7b0c
Bring the web grid index to the same cells, and teach it the antimeri…
wf9a5m75 Sep 5, 2026
335321f
Track the js-sdk-core test suite
wf9a5m75 Sep 5, 2026
81febdb
Add declutterPx, which android-sdk had and the other two did not
wf9a5m75 Sep 5, 2026
b2fb3ce
Add the street tree sample to ios-sdk and the web examples
wf9a5m75 Sep 5, 2026
9389735
Draw the labels the renderer was already able to draw
wf9a5m75 Sep 17, 2026
b817f5a
remove react-kml from the top repository
wf9a5m75 Sep 17, 2026
7aa1dc0
Fail when a package is missing from the API gate
wf9a5m75 Sep 18, 2026
fc1d76f
Pin the renderer the binding is built against
wf9a5m75 Sep 18, 2026
1b67910
Run the tests on every pull request
wf9a5m75 Sep 19, 2026
f5a0b4f
Say that the tree icon size is in CSS pixels
wf9a5m75 Sep 19, 2026
f8a8f61
Bump js-sdk-core: square Morton marker grid and seam consistency
wf9a5m75 Sep 21, 2026
f9f2a42
Tell the map library when a tile failed, instead of showing it an emp…
wf9a5m75 Sep 21, 2026
131b668
Bump web packages: tile answers distinguish empty from failed
wf9a5m75 Sep 21, 2026
5e10105
Bump providers: raster overlays sit under the basemap's labels
wf9a5m75 Sep 27, 2026
d34a5c7
Take the tile size from the backend when the app has not chosen one
wf9a5m75 Sep 27, 2026
1b44daf
Bump web packages: providers can state their tile size
wf9a5m75 Sep 27, 2026
46d94e5
Bump react-for-arcgis: hold the tile size preference
wf9a5m75 Sep 27, 2026
5c5c34b
Pass the renderer the screen size of a tile, not just its pixels
wf9a5m75 Sep 27, 2026
0ad92f1
Bump react-for-arcgis: ask SceneView-sized tiles
wf9a5m75 Sep 27, 2026
ed1d0f7
Hide the basemap under the vector tile sample on every backend that can
wf9a5m75 Sep 29, 2026
1c5bb13
Let the layer keep source and rendered tiles across reloads
wf9a5m75 Sep 29, 2026
84864fa
Add the deck.gl provider view to the sample app; bump maplibre, tomto…
wf9a5m75 Sep 29, 2026
436d4d2
VectorTileLayer(asBasemap) hands the style to MapLibre-based maps dir…
wf9a5m75 Sep 30, 2026
bb320f5
chore: checkpoint pending SDK changes
wf9a5m75 Oct 10, 2026
40f4014
Add style adjustments sample and fix raster style rendering
wf9a5m75 Oct 11, 2026
b8164c3
Persist pending React SDK changes
wf9a5m75 Oct 11, 2026
7b96923
Update React SDK provider revisions
wf9a5m75 Oct 11, 2026
ca5a482
Align vector tile rendering across web providers
wf9a5m75 Oct 11, 2026
05d474c
feat: apply web design changes live across providers
wf9a5m75 Oct 11, 2026
f0b7f59
feat: let VectorTileLayer take StyleRules
wf9a5m75 Oct 12, 2026
51511d2
refer to react-for-deckgl
wf9a5m75 Oct 25, 2026
91f4e41
Merge develop into feature/bearing-clockwise
wf9a5m75 Oct 25, 2026
065c404
Run the tests on Node 22
wf9a5m75 Oct 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Test

# ユニットテストのゲート。
#
# これまで CI は api-surface.yml(公開 API の凍結)と deploy 系だけで、
# **テストを走らせるワークフローが 1 つも無かった。** 凍結ゲートが見るのは
# 型の形だけなので、シグネチャが同じまま中身が壊れる変更は素通りする。
#
# ブラウザを要する検証はここには入れない。`npm run smoke` は実 Chrome で
# 全プロバイダを描画するもので、API キーと数分の実行時間を要する。CI に載せる
# なら別ワークフロー・別トリガにすること。

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
branches:
- main
push:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
name: Unit tests

steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node
uses: actions/setup-node@v4
with:
# 各パッケージの `node --test "test/**/*.test.mjs"` は Node 21 からグロブを
# 展開する。20 ではパターンをそのままファイル名として探し、見つからずに落ちる。
node-version: 22
cache: npm

- name: Install
run: npm ci

# ワークスペース横断。各パッケージの `pretest` が自分の dist を作るので、
# ここで先に build する必要はない。
- name: Test
run: npm test

- name: Lint
run: npm run lint
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ examples/reactnative-basic/android/.kotlin/
newkey.xcresult
ios-rest.xcresult
ios-final.xcresult

# The vendored Rust renderer (wasm + its JS bindings) is a build artifact of the
# mapconductor-vectortile repo, copied in by its scripts/sync-sdk.sh. It is
# tracked on purpose: the package cannot be built or published without it, the
# same way android-vectortile tracks its .so and ios-vectortile its XCFramework.
!react-vectortile/vendor/
!react-vectortile/vendor/**
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,6 @@
[submodule "react-icons-weather"]
path = react-icons-weather
url = git@github.com:MapConductor/react-icons-weather.git
[submodule "react-kml"]
path = react-kml
url = git@github.com:MapConductor/react-kml.git
5 changes: 4 additions & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@
"@mapconductor/react-heatmap": "*",
"@mapconductor/react-icons": "*",
"@mapconductor/react-marker-clustering": "*",
"@mapconductor/react-vectorstyle": "*",
"@mapconductor/react-vectortile": "*",
"@zip.js/zip.js": "^2.8.26",
"maplibre-gl": "^6.0.0",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "^7.18.0",
"three": "^0.185.1",
"@mapconductor/react-for-mappls": "*"
"@mapconductor/react-for-mappls": "*",
"@mapconductor/react-for-deckgl": "*"
},
"devDependencies": {
"@types/react": "^19.2.17",
Expand Down
Loading
Loading