MCPcopy Create free account
hub / github.com/ImGoodBai/MapGoGoGo / stopTracking

Function stopTracking

frontend/src/App.tsx:874–881  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

872 }
873
874 function stopTracking() {
875 if (watchRef.current !== null) {
876 navigator.geolocation.clearWatch(watchRef.current);
877 watchRef.current = null;
878 }
879 setTracking(false);
880 setMessage("已暂停点亮。");
881 }
882
883 function resetSimulator(clearProgress = false) {
884 if (!challenge) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected