Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>Geolocation

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface Geolocation
import { type Geolocation } from "https://deno.land/x/windmill@v1.352.0/node_modules/evt/lib/types/lib.dom.d.ts";

An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.

Methods

clearWatch(watchId: number): void
getCurrentPosition(
successCallback: PositionCallback,
errorCallback?: PositionErrorCallback,
options?: PositionOptions,
): void
watchPosition(
successCallback: PositionCallback,
errorCallback?: PositionErrorCallback,
options?: PositionOptions,
): number