v0.9.0
Pre-release
Pre-release
Added
- Added
toJSON()
methods toGeolocationCoordinates
andGeolocationPosition
. - Added the
GeolocationCoordinatesParameters
type, which can be used for typing simple objects that have the same properties asGeolocationCoordinates
, but don't implement the full interface.
Changed
- Errors thrown from
successCallback
anderrorCallback
arguments togetCurrentPosition()
andwatchPosition()
are now thrown asynchronously, instead of being discarded. - Errors thrown from subscriber functions used in geolocation delegates and location services are now thrown asynchronously, instead of being discarded.