Interface GeolocationStatic

Index

Methods

Methods

public getCurrentPosition(success: (position: Position) => void, error?: (positionError: PositionError) => void, opts?: PositionOptions)

Parameters

  • success: (position: Position) => void
  • error?: (positionError: PositionError) => void optional
  • opts?: PositionOptions optional

public init(): boolean

Returns

boolean

public showMap(latitude: number, longitude: number)

Parameters

  • latitude: number
  • longitude: number