Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RodrigoHamuy/react-three-map
/ useMap
Function
useMap
src/api/use-map.ts:5–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
4
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5
export
const
useMap = <T extends MapInstance = MapInstance>(): T => useThree((s: any) => {
6
return
s.r3m?.map;
7
});
Callers
6
canvas.tsx
File · 0.85
canvas.tsx
File · 0.85
Move
Function · 0.85
adaptive-dpr.tsx
File · 0.85
useMapColorsBasedOnSun
Function · 0.85
story-maplibre.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected