This repository is based on react, it provide the function to get the current position with enhancing the shared-data that be across the components or more.
import type { GeoData } from "react-geolocation-x";
import { useMyGeoLocation } from "react-geolocation-x";
const Comp = () => {
/**
* interface GeoData {
* latitude: number
* longitude: number
* error: Error | null
* }
*/
const data: GeoData = useMyGeoLocation();
// ...
};
I cannot give a detail timeline for some missing job, but i hope that i could have enough time to do that in future.
At present, the code source is private
, not public. I am glad to see your feedback in PR or issue.