Geolocation, Overlay, View
This commit is contained in:
committed by
Andreas Hocevar
parent
7fc664c3fe
commit
ba9bfca9d5
@@ -91,6 +91,14 @@ class Geolocation extends BaseObject {
|
||||
constructor(opt_options) {
|
||||
super();
|
||||
|
||||
/***
|
||||
* @type {import("./Observable").OnSignature<import("./ObjectEventType").Types|
|
||||
* 'change:accuracy'|'change:accuracyGeometry'|'change:altitude'|'change:altitudeAccuracy'|'change:heading'|
|
||||
* 'change:position'|'change:projection'|'change:speed'|'change:tracking'|'change:trackingOptions', import("./Object").ObjectEvent> &
|
||||
* import("./Observable").OnSignature<'error', GeolocationError>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
const options = opt_options || {};
|
||||
|
||||
/**
|
||||
|
||||
@@ -110,6 +110,13 @@ class Overlay extends BaseObject {
|
||||
constructor(options) {
|
||||
super();
|
||||
|
||||
/***
|
||||
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
|
||||
* import("./Observable").OnSignature<import("./ObjectEventType").Types|
|
||||
* 'change:element'|'change:map'|'change:offset'|'change:position'|'change:positioning', import("./Object").ObjectEvent>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {Options}
|
||||
|
||||
@@ -297,6 +297,13 @@ class View extends BaseObject {
|
||||
constructor(opt_options) {
|
||||
super();
|
||||
|
||||
/***
|
||||
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
|
||||
* import("./Observable").OnSignature<import("./ObjectEventType").Types|
|
||||
* 'change:center'|'change:resolution'|'change:rotation', import("./Object").ObjectEvent>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
const options = assign({}, opt_options);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user