-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hi,
I am struggling to use react-three-map 1.0.0.
I have installed
react-map-gl : 8.0.0.
mapbox-gl : 3.17.0
maplibre-gl : 5.0.0
I have been using mapbox in my example
I have replaced
import { Map } from "react-map-gl";
by import Map from "react-map-gl";
it seems to work at first, but when I zoom in, i get an error :
installHook.js:1 The above error occurred in the <ForwardRef(_Map)> component: at _Map (http://localhost:5173/node_modules/.vite/deps/chunk-ONLDMZ7C.js?v=3498fe4f:914:59) at div at AppDesktop (http://localhost:5173/src/AppDesktop.jsx:42:34) at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15f5d859:6123:26) at Routes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15f5d859:6970:3) at App (http://localhost:5173/src/App.jsx?t=1767718388650:28:41) at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15f5d859:6911:13) at BrowserRouter (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15f5d859:10028:3) at AppContextProvider (http://localhost:5173/src/context/AppContext.jsx:31:38) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. Uncaught RangeError: Maximum call stack size exceeded at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:173:24) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36) at co._calcMatrices (chunk-ONLDMZ7C.js?v=3498fe4f:175:36)
Have any of you managed to work in a project with react-three-map 1.0.0
Could you share an example ?
Cheers,
And thanks again so much for this project !