MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / successLocation

Function successLocation

assets/js/Google_Map_Clone.js:4–7  ·  view source on GitHub ↗
(position)

Source from the content-addressed store, hash-verified

2 "pk.eyJ1Ijoic29tc3ViaHJhMSIsImEiOiJja2hkbDhuNGcwNnZnMnNuMGkwcjU3d3UwIn0.ZAeP5aPO4JkxNGD7dIEZtw";
3
4const successLocation = (position) => {
5 // console.log(position);
6 setupMap([position.coords.longitude, position.coords.latitude]);
7};
8
9const errorLocation = () => {
10 setupMap([-2.24, 53.48]);

Callers

nothing calls this directly

Calls 1

setupMapFunction · 0.85

Tested by

no test coverage detected