Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Geocontext

The interface to a geographical context, which currently implements two functions to get the current position.

Hierarchy

  • Geocontext

Implemented by

Index

Properties

getCurrentPosition

getCurrentPosition: W3CCurrentPositionRequest

A function which returns the current position. Provides the same API as the W3C Geolocation spec https://w3c.github.io/geolocation-api/#navi-geo

getCurrentPositionPromise

getCurrentPositionPromise: PositionPromiseRequest

Get a promise which returns the current position when fulfilled.

Generated using TypeDoc