MCPcopy Index your code
hub / github.com/visgl/react-google-maps / removeMapInstance

Function removeMapInstance

src/components/api-provider.tsx:151–153  ·  view source on GitHub ↗
(id = 'default')

Source from the content-addressed store, hash-verified

149 };
150
151 const removeMapInstance = (id = 'default') => {
152 setMapInstances(({[id]: _, ...remaining}) => remaining);
153 };
154
155 const clearMapInstances = () => {
156 setMapInstances({});

Callers 1

useMapInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected