@capacitor/geolocation
Version:
The Geolocation API provides simple methods for getting and tracking the current position of the device using GPS, along with altitude, heading, and speed information if available.
9 lines • 331 B
JavaScript
import { registerPlugin } from '@capacitor/core';
import { exposeSynapse } from '@capacitor/synapse';
const Geolocation = registerPlugin('Geolocation', {
web: () => import('./web').then((m) => new m.GeolocationWeb()),
});
exposeSynapse();
export * from './definitions';
export { Geolocation };
//# sourceMappingURL=index.js.map