-
9be6c41: Updated to work with
react-map-gl >= 8.0.0.This has the cascade effect of requiring also to upgrade either of the map providers you are using:
mapbox-gl >= 3.5.0maplibre-gl >= 4.0.0
- e5e937a: Remove
react-map-gl/mapboxfrom the build. - 987d5c7: Fix
overlaycamera calculations bug introduced bythree=>r166. More info in #143. - 55c5392: Support maplibre@v5
- 987d5c7: Fix
overlaycamera calculations bug introduced bythree=>r166. More info in #143.
- e5e937a: Remove
react-map-gl/mapboxfrom the build.
-
9be6c41: Updated to work with
react-map-gl >= 8.0.0.This has the cascade effect of requiring also to upgrade either of the map providers you are using:
mapbox-gl >= 3.5.0maplibre-gl >= 4.0.0
- 58c42d9: - Improve accuracy at long distances for
coordsToVector3.
- 9dfe4f6: Remove
turfdependency. - 9dfe4f6: Map to wait for r3f to finish rendering before the next render in overlay mode.
- 7e1743d: - Peer dependency upgrade:
maplibre-gl:>=3.2, so we don't need to sortmaplibreold DPR bug anymore.- Add
overlay?: booleanto<Canvas>, so you can render on a separated canvas if preferred. - Add
NearCoordinatescomponent. - Add
coordsToVector3function.
- Add
- 90a4766: Fix bug on DPR change.
- 2115617: Revert 748d7a7: Fix issues on DPR or browser zoom changes.
- 1c52c0f:
<Canvas>props acceptsid?: stringandbeforeId?: stringto set the MapLibre/Mapbox layer.
- 748d7a7: Fix issues on DPR or browser zoom changes.
- a5b94b6: Fix ThreeJS sync on Mapbox resize.
- 6be61b6: Fix on window DPR changes (different solutions for Mapbox and Maplibre)
- be1efa7: Fix resizing bug when DPR changes.
- 3a9a852: Add
useMaphook to access the map from react-three-map.
- 3a9a852: Better type for
useMap.
- 7921f43: Add
useMaphook to access the map from react-three-map.
- 0e37c1c: Fix canvas on resize.
- bd62ef9: Simplify raycaster calculations.
- 41dd225: Improve camera decomposition so the camera matrix and world matrix have more useful values.
- bad8670: Add
<Coordinates>component to render multiple 3D objects at different coordiantes.
- 9b1c068: Fix camera matrix calculations.
- 4dd8a72: Fix types declaration path.
- 7e94458: Generate types declarations.
- b169844: Bug fix related to DPR devices and pointer events.
- 39acb3b: Fix build typo and add more detailed peer dependencies.
- f3155c6: Upgrade to
react-map-gl@7.1.0, which changes how to use Maplibre. Find more in their changelog.
- 71d6439: Fix maplibre build
-
b210a12: Support to render
react-three-mapon demand via<Canvas frameloop="ondemand"> -
557920a: Add Mapbox support.
- If you use Mapbox
import { Canvas } from "react-three-map" - If you use Maplibre
import { Canvas } from "react-three-map/maplibre"
- If you use Mapbox
- 83de85c: Fix camera matrix bug where it may have invalid state on start.