From 90f08637835602d520a018cbfa99d1093235cd12 Mon Sep 17 00:00:00 2001 From: masashi Date: Tue, 1 Sep 2026 11:43:11 +0900 Subject: [PATCH] Make bearing a clockwise map rotation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bearing を「値を増やすと地図が時計回りに回る」向きに統一し、ネイティブ SDK との変換をコアの CameraBearing に集約する。 --- examples/basic/src/pages/map/tilt/TiltPage.tsx | 4 +++- js-sdk-core | 2 +- react-for-arcgis | 2 +- react-for-azuremaps | 2 +- react-for-cesium | 2 +- react-for-googlemaps | 2 +- react-for-here | 2 +- react-for-leaflet | 2 +- react-for-longdo | 2 +- react-for-mapbox | 2 +- react-for-mapkit | 2 +- react-for-maplibre | 2 +- react-for-mappls | 2 +- react-for-maptiler | 2 +- react-for-openlayers | 2 +- react-for-tomtom | 2 +- 16 files changed, 18 insertions(+), 16 deletions(-) diff --git a/examples/basic/src/pages/map/tilt/TiltPage.tsx b/examples/basic/src/pages/map/tilt/TiltPage.tsx index a938566..aad868b 100644 --- a/examples/basic/src/pages/map/tilt/TiltPage.tsx +++ b/examples/basic/src/pages/map/tilt/TiltPage.tsx @@ -27,7 +27,9 @@ const TILT_LIMIT = 89; // (`TiltMapPageViewModel.kt` / `TiltMapPageViewModel.swift`). The three pages are // meant to be compared side by side, so the camera and the marker layout must match. // -// The Eiffel Tower, looking west (bearing 270). A non-zero bearing is deliberate: +// The Eiffel Tower with the map turned 270 degrees clockwise, so the camera looks +// east (bearing is the map rotation; the camera heading is its opposite). +// A non-zero bearing is deliberate: // it is what exposed a driver bug where marker anchors were rotated with the map // instead of the screen, and that only shows up when the map is not north-up. const INIT_CAMERA = { lat: 48.858140690309604, lng: 2.2945027576710344, zoom: 17, bearing: 270 }; diff --git a/js-sdk-core b/js-sdk-core index 3859e4a..dde9d3a 160000 --- a/js-sdk-core +++ b/js-sdk-core @@ -1 +1 @@ -Subproject commit 3859e4a6c0716451ec08e7688224460d820f68c1 +Subproject commit dde9d3aadbcb72ce6cdb53866c5beac444b03425 diff --git a/react-for-arcgis b/react-for-arcgis index 4ab8ea5..c2e24b8 160000 --- a/react-for-arcgis +++ b/react-for-arcgis @@ -1 +1 @@ -Subproject commit 4ab8ea5e968baaae2c2774c99e3f01cc56b70882 +Subproject commit c2e24b8d4703be8b32ff781d1e737846005be4fb diff --git a/react-for-azuremaps b/react-for-azuremaps index 1be12f1..10f8919 160000 --- a/react-for-azuremaps +++ b/react-for-azuremaps @@ -1 +1 @@ -Subproject commit 1be12f156480ac39af2946531bef3bfd294d7d59 +Subproject commit 10f89193ac2a70db63f75c321882379f153a6dc1 diff --git a/react-for-cesium b/react-for-cesium index 226246a..039af5e 160000 --- a/react-for-cesium +++ b/react-for-cesium @@ -1 +1 @@ -Subproject commit 226246aff80df972bca94267912a5de464f772aa +Subproject commit 039af5e379dd8b5bf5aab6afab667368131a3d96 diff --git a/react-for-googlemaps b/react-for-googlemaps index 0559c94..4a154ce 160000 --- a/react-for-googlemaps +++ b/react-for-googlemaps @@ -1 +1 @@ -Subproject commit 0559c9429f71a84ce82e5e58405db615e728fc4f +Subproject commit 4a154ce28a60ddde1264875837f7b01404575597 diff --git a/react-for-here b/react-for-here index c73847d..2b1b896 160000 --- a/react-for-here +++ b/react-for-here @@ -1 +1 @@ -Subproject commit c73847d2b5986f8ed803e3b4e3ae7985c8500b37 +Subproject commit 2b1b896a9cb48d4bb93f210b7d87da000fe6c504 diff --git a/react-for-leaflet b/react-for-leaflet index f13a76f..b73f11c 160000 --- a/react-for-leaflet +++ b/react-for-leaflet @@ -1 +1 @@ -Subproject commit f13a76fe3360f55b61f2eac13bcd07b0f44ee8f7 +Subproject commit b73f11c4ecb00015d00162878de9fafc98b38c79 diff --git a/react-for-longdo b/react-for-longdo index c009e42..20569b9 160000 --- a/react-for-longdo +++ b/react-for-longdo @@ -1 +1 @@ -Subproject commit c009e424bae22c890e61994f66928208d318c32d +Subproject commit 20569b95e5b61e1e0222011aceff4ea726ea3f17 diff --git a/react-for-mapbox b/react-for-mapbox index 20ca5b0..0fad13b 160000 --- a/react-for-mapbox +++ b/react-for-mapbox @@ -1 +1 @@ -Subproject commit 20ca5b07c8c2d3cb14af14df3c498147eb1e3b91 +Subproject commit 0fad13b2fc35286366c22b25b6b24bae69a9d855 diff --git a/react-for-mapkit b/react-for-mapkit index ffa6b20..2252733 160000 --- a/react-for-mapkit +++ b/react-for-mapkit @@ -1 +1 @@ -Subproject commit ffa6b2040ed187f5e3aeca232894e0a6b82c096c +Subproject commit 2252733126488617464e4d498681ed9a251905f9 diff --git a/react-for-maplibre b/react-for-maplibre index 14176bb..ec6f787 160000 --- a/react-for-maplibre +++ b/react-for-maplibre @@ -1 +1 @@ -Subproject commit 14176bb8b8a626e5bba67c7c05d63decc681baaa +Subproject commit ec6f787f7b4a6664a43828c6c5430be616c1885a diff --git a/react-for-mappls b/react-for-mappls index 188376e..ed0bfd7 160000 --- a/react-for-mappls +++ b/react-for-mappls @@ -1 +1 @@ -Subproject commit 188376ed2318ff29f59cb1f3a4572fa8d70f6023 +Subproject commit ed0bfd7a70b80db4453a8122a5a59d6c11d6d801 diff --git a/react-for-maptiler b/react-for-maptiler index c587441..4f7e321 160000 --- a/react-for-maptiler +++ b/react-for-maptiler @@ -1 +1 @@ -Subproject commit c5874413745b5f2110a301c5e25ff4adf1c696a4 +Subproject commit 4f7e321c5436d986c0248ff0935044f989e89a21 diff --git a/react-for-openlayers b/react-for-openlayers index 2e08460..75fd74c 160000 --- a/react-for-openlayers +++ b/react-for-openlayers @@ -1 +1 @@ -Subproject commit 2e08460cc5f4faedee4daf7878e0d52046a8f997 +Subproject commit 75fd74ccf99252d83e64c0376dbc893f57a06cd4 diff --git a/react-for-tomtom b/react-for-tomtom index 455cb6e..facae95 160000 --- a/react-for-tomtom +++ b/react-for-tomtom @@ -1 +1 @@ -Subproject commit 455cb6eb1757f21bc1d084d0f2ec19c4bb3fb673 +Subproject commit facae953d7640746e8966cd188f0fb1a2a1e685b