MCPcopy Create free account
hub / github.com/cartesiancs/map3d / checkIsBig

Function checkIsBig

src/ui/App.tsx:53–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 const setFleet = useActionStore((state) => state.setFleet);
52
53 const checkIsBig = () => {
54 const a = areaData[0].lat - areaData[1].lat;
55 const b = areaData[0].lng - areaData[1].lng;
56
57 console.log(a + b);
58
59 if (a + b > 0.1) {
60 return true;
61 } else {
62 return false;
63 }
64 };
65
66 const exportFile = () => {
67 setAction(true);

Callers 1

handleClickNextStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected