MCPcopy 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
5export const useMap = <T extends MapInstance = MapInstance>(): T => useThree((s: any) => {
6 return s.r3m?.map;
7});

Callers 6

canvas.tsxFile · 0.85
canvas.tsxFile · 0.85
MoveFunction · 0.85
adaptive-dpr.tsxFile · 0.85
useMapColorsBasedOnSunFunction · 0.85
story-maplibre.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected