Skip to content

@ralphschuler.webgl shader factory.<internal>.Geolocation

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: Geolocation

@ralphschuler/webgl-shader-factory.<internal>.Geolocation

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.

MDN Reference

Table of contents

Methods

Methods

clearWatch

clearWatch(watchId): void

MDN Reference

Parameters

Name Type
watchId number

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8763


getCurrentPosition

getCurrentPosition(successCallback, errorCallback?, options?): void

MDN Reference

Parameters

Name Type
successCallback PositionCallback
errorCallback? null | PositionErrorCallback
options? PositionOptions

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8765


watchPosition

watchPosition(successCallback, errorCallback?, options?): number

MDN Reference

Parameters

Name Type
successCallback PositionCallback
errorCallback? null | PositionErrorCallback
options? PositionOptions

Returns

number

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8767

Typescript Libraries

Modules

Namespaces

Clone this wiki locally