The parameters for creating the delegated Geolocation API.
The Geolocation APIs to delegate to.
The list must have at least one delegate, which will be selected initially. The list is static, and cannot be changed after the delegated API is created.
The Permissions APIs associated with each Geolocation API delegate.
The map must contain a Permissions API for each Geolocation API delegate.
The delegated Geolocation API, and a handle for controlling it.
A TypeError if no delegates are provided.
Create a Geolocation API that delegates to other Geolocation APIs.
Delegated Geolocation APIs can be used, for example, to dynamically "switch" between a fake Geolocation API and a real Geolocation API.
When Geolocation.getCurrentPosition is called on the delegated Geolocation API, the call will be forwarded to the selected delegate.
Geolocation API delegates can be selected dynamically at any time, and any position watches created with Geolocation.watchPosition will immediately be called with the new delegate's position.