Package-level declarations

Types

Link copied to clipboard
external class 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.

Link copied to clipboard
external class GeolocationCoordinates

Available only in secure contexts.

Link copied to clipboard
external class GeolocationPosition

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
sealed external interface GeolocationWatchId
Link copied to clipboard
typealias PositionCallback = (position: GeolocationPosition) -> Unit
Link copied to clipboard
typealias PositionErrorCallback = (positionError: GeolocationPositionError) -> Unit
Link copied to clipboard
external interface PositionOptions