diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cfce1ac..6472640d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [1.12.0] - 2021-03-01 +### Added +- Method `getMirrorsFrom` in + [Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html). +- Time format is now dynamic in + [bsButtons](https://chird.github.io/meteoJS/doc/module-meteoJS_timeline_visualisation_bsButtons.html#~options). + +### Changed +- The `change:selectedVariables` event in + [Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html). + is now fired debounced. +- `mirrorsFrom` can now be called for different other containers on + [Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html). +- Added internal cache for performance reasons in + [Node](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_node.Node.html). + +### Fixed +- Bugfix for the `pauseOnHiddenDocument` feature in + [RepetitiveRequests](https://chird.github.io/meteoJS/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html). +- Fix to prevent some unwanted side effects with the keyboard navigation in + [Timeline](https://chird.github.io/meteoJS/doc/module-meteoJS_timeline.Timeline.html). + ## [1.11.4] - 2020-11-19 ### Added - Additional keyboard navigation options in @@ -128,7 +150,8 @@ will not work anymore, until you pass a callback to `getTimeText`. ### Fixed - Some tests with DOM usage. -[Unreleased]: https://github.com/chird/meteoJS/compare/v1.11.4...HEAD +[Unreleased]: https://github.com/chird/meteoJS/compare/v1.12.0...HEAD +[Unreleased]: https://github.com/chird/meteoJS/compare/v1.11.4...v1.12.0 [1.11.4]: https://github.com/chird/meteoJS/compare/v1.11.3...v1.11.4 [1.11.3]: https://github.com/chird/meteoJS/compare/v1.11.2...v1.11.3 [1.11.2]: https://github.com/chird/meteoJS/compare/v1.11.1...v1.11.2 diff --git a/doc/Modelviewer.js.html b/doc/Modelviewer.js.html index adc3b692..5b11a7ec 100644 --- a/doc/Modelviewer.js.html +++ b/doc/Modelviewer.js.html @@ -277,7 +277,7 @@

Source: Modelviewer.js

diff --git a/doc/RepetitiveRequests.js.html b/doc/RepetitiveRequests.js.html index 90827103..863d689c 100644 --- a/doc/RepetitiveRequests.js.html +++ b/doc/RepetitiveRequests.js.html @@ -145,6 +145,12 @@

Source: RepetitiveRequests.js

*/ this._pauseOnHiddenDocument = pauseOnHiddenDocument; this._initPauseOnHiddenDocument(); + + /** + * @type boolean + * @private + */ + this._isSuppressedByHiddenDocument = false; /** * @type string @@ -250,6 +256,13 @@

Source: RepetitiveRequests.js

return; this._timeoutID = setTimeout(() => { + if (this._pauseOnHiddenDocument + && ('hidden' in document) + && document.hidden) { + this._isSuppressedByHiddenDocument = true; + return; + } + this._startRequest(); }, delay); } @@ -348,11 +361,13 @@

Source: RepetitiveRequests.js

return; document.addEventListener('visibilitychange', () => { - if ('hidden' in document) - if (document.hidden) - this.stop(); - else - this.start(); + if (('hidden' in document) + && !document.hidden + && this._isSuppressedByHiddenDocument + && this._isStarted) { + this._isSuppressedByHiddenDocument = false; + this.start(); + } }); } } @@ -368,7 +383,7 @@

Source: RepetitiveRequests.js

diff --git a/doc/Sounding.js.html b/doc/Sounding.js.html index 4f8c90af..12d5dade 100644 --- a/doc/Sounding.js.html +++ b/doc/Sounding.js.html @@ -277,7 +277,7 @@

Source: Sounding.js

diff --git a/doc/Synview.js.html b/doc/Synview.js.html index 477d4930..a2d9e4a2 100644 --- a/doc/Synview.js.html +++ b/doc/Synview.js.html @@ -201,7 +201,7 @@

Source: Synview.js

diff --git a/doc/ThermodynamicDiagram.js.html b/doc/ThermodynamicDiagram.js.html index 4879ccbc..f2bc22af 100644 --- a/doc/ThermodynamicDiagram.js.html +++ b/doc/ThermodynamicDiagram.js.html @@ -300,7 +300,7 @@

Source: ThermodynamicDiagram.js

diff --git a/doc/ThermodynamicDiagramPluggable.js.html b/doc/ThermodynamicDiagramPluggable.js.html index 7414cfd8..44fb33ba 100644 --- a/doc/ThermodynamicDiagramPluggable.js.html +++ b/doc/ThermodynamicDiagramPluggable.js.html @@ -231,7 +231,7 @@

Source: ThermodynamicDiagramPluggable.js

diff --git a/doc/Timeline.js.html b/doc/Timeline.js.html index 56c38e80..8be7b772 100644 --- a/doc/Timeline.js.html +++ b/doc/Timeline.js.html @@ -806,14 +806,19 @@

Source: Timeline.js

const matches = time.match(/^([0-9]+)\s*([a-zA-Z]+)$/); if (matches === null) return; - if (_isEventMatchPressedKeys(event, this._keyboardNavigation[method][time])) + if (_isEventMatchPressedKeys(event, this._keyboardNavigation[method][time])) { this[method](+matches[1], matches[2]); + event.preventDefault(); + event.stopPropagation(); + } }); } - else - if (method in this && - _isEventMatchPressedKeys(event, this._keyboardNavigation[method])) - this[method](); + else if (method in this + && _isEventMatchPressedKeys(event, this._keyboardNavigation[method])) { + this[method](); + event.preventDefault(); + event.stopPropagation(); + } }); }); } @@ -889,7 +894,7 @@

Source: Timeline.js

diff --git a/doc/Tooltip.js.html b/doc/Tooltip.js.html index 5cea398d..db60d4ec 100644 --- a/doc/Tooltip.js.html +++ b/doc/Tooltip.js.html @@ -155,7 +155,7 @@

Source: Tooltip.js

diff --git a/doc/base_Collection.js.html b/doc/base_Collection.js.html index 44d89ed5..76b70fc1 100644 --- a/doc/base_Collection.js.html +++ b/doc/base_Collection.js.html @@ -318,7 +318,7 @@

Source: base/Collection.js

diff --git a/doc/base_Named.js.html b/doc/base_Named.js.html index 0236e0d1..de312cc4 100644 --- a/doc/base_Named.js.html +++ b/doc/base_Named.js.html @@ -162,7 +162,7 @@

Source: base/Named.js

diff --git a/doc/base_NamedCollection.js.html b/doc/base_NamedCollection.js.html index f8d178f2..57bd56e8 100644 --- a/doc/base_NamedCollection.js.html +++ b/doc/base_NamedCollection.js.html @@ -110,7 +110,7 @@

Source: base/NamedCollection.js

diff --git a/doc/base_Unique.js.html b/doc/base_Unique.js.html index 44f1a2b3..d7f0d801 100644 --- a/doc/base_Unique.js.html +++ b/doc/base_Unique.js.html @@ -83,7 +83,7 @@

Source: base/Unique.js

diff --git a/doc/base_UniqueNamed.js.html b/doc/base_UniqueNamed.js.html index 474026e1..4db7cb7d 100644 --- a/doc/base_UniqueNamed.js.html +++ b/doc/base_UniqueNamed.js.html @@ -95,7 +95,7 @@

Source: base/UniqueNamed.js

diff --git a/doc/calc.js.html b/doc/calc.js.html index 6f1812b7..96421728 100644 --- a/doc/calc.js.html +++ b/doc/calc.js.html @@ -523,7 +523,7 @@

Source: calc.js

diff --git a/doc/events.js.html b/doc/events.js.html index 44fcaec0..b1462a45 100644 --- a/doc/events.js.html +++ b/doc/events.js.html @@ -165,7 +165,7 @@

Source: Events.js

diff --git a/doc/external-Event.html b/doc/external-Event.html index 60abefcb..e69049e9 100644 --- a/doc/external-Event.html +++ b/doc/external-Event.html @@ -51,7 +51,7 @@

Event

diff --git a/doc/external-HTMLElement.html b/doc/external-HTMLElement.html index bd678850..201e474d 100644 --- a/doc/external-HTMLElement.html +++ b/doc/external-HTMLElement.html @@ -51,7 +51,7 @@

HTMLElement

diff --git a/doc/external-SVG.html b/doc/external-SVG.html index dfe65ecd..3e7629fe 100644 --- a/doc/external-SVG.html +++ b/doc/external-SVG.html @@ -51,7 +51,7 @@

SVG

diff --git a/doc/external-XMLHttpRequest.html b/doc/external-XMLHttpRequest.html index 080d653d..fbbd46d3 100644 --- a/doc/external-XMLHttpRequest.html +++ b/doc/external-XMLHttpRequest.html @@ -51,7 +51,7 @@

XMLHttpRequest

diff --git a/doc/external-jQuery.html b/doc/external-jQuery.html index 374bb1fb..3042b925 100644 --- a/doc/external-jQuery.html +++ b/doc/external-jQuery.html @@ -51,7 +51,7 @@

jQuery

diff --git a/doc/index.html b/doc/index.html index 18c3b7f8..741073aa 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1132,18 +1132,23 @@

meteoJS/modelviewer/container.C
+
+ meteoJS/modelviewer/container.Container#enabledTimes +
+
+
- meteoJS/modelviewer/container.Container#enabledTimes + meteoJS/modelviewer/container.Container#exchangeDisplayVariable(variables)
- meteoJS/modelviewer/container.Container#exchangeDisplayVariable(variables) + meteoJS/modelviewer/container.Container#getMirrorsFrom()
@@ -1157,16 +1162,16 @@

meteoJS/modelviewer/container.C
-

-
- -
-
meteoJS/modelviewer/container.Container#modelviewer
+
+
+ +
+
meteoJS/modelviewer/container.Container#selectedVariables
@@ -2779,7 +2784,7 @@

meteoJS/synview

- meteoJS/synview + meteoJS/synview(options)
@@ -8594,6 +8599,11 @@

meteoJS/timeline/visualisation @@ -9202,7 +9212,7 @@

meteoJS/tooltip/boots
diff --git a/doc/index.js.html b/doc/index.js.html index 63b1bfbd..c5a2696a 100644 --- a/doc/index.js.html +++ b/doc/index.js.html @@ -245,7 +245,7 @@

Source: index.js

diff --git a/doc/modelviewer_Container.js.html b/doc/modelviewer_Container.js.html index 363537c4..3188949b 100644 --- a/doc/modelviewer_Container.js.html +++ b/doc/modelviewer_Container.js.html @@ -219,16 +219,50 @@

Source: modelviewer/Container.js

* @private */ this._containerNode = undefined; + + /** + * Function to call change:selectedVariables debouncec. + * + * @type Function + * @private + */ + this._debouncedChangeSelectedVariables = (() => { + let timeoutId; + let totalAddedVariables = new Set(); + let totalRemovedVariables = new Set(); + return ({ addedVariables, removedVariables }) => { + for (const v of addedVariables) + if (totalRemovedVariables.has(v)) + totalRemovedVariables.delete(v); + for (const v of removedVariables) + if (totalAddedVariables.has(v)) + totalAddedVariables.delete(v); + totalAddedVariables = new Set([...totalAddedVariables, ...addedVariables]); + totalRemovedVariables = new Set([...totalRemovedVariables, ...removedVariables]); + /*console.log([ + [...addedVariables].map(v => v.id), + [...removedVariables].map(v => v.id), + [...totalAddedVariables].map(v => v.id), + [...totalRemovedVariables].map(v => v.id), + ]);*/ + clearTimeout(timeoutId); + timeoutId = setTimeout(() => { + this.trigger('change:selectedVariables', { + addedVariables: totalAddedVariables, + removedVariables: totalRemovedVariables + }); + totalAddedVariables.clear(); + totalRemovedVariables.clear(); + }, 300); + }; + })(); /** * @type Object<string,Object<string,mixed>> * @private */ this._listeners = { - mirror: { - container: undefined, - listenerKey: undefined - }, + mirror: [], timeline: { timeline: undefined, listenerKey: undefined @@ -407,36 +441,81 @@

Source: modelviewer/Container.js

* feature, e.g. in different containers can be viewed plots of different * models. If you change e.g. the field in the first container, all other * containers, that mirrors form this container, will also change the viewed - * content. + * content. It is possible to mirror different VariableCollections from + * different containers. * * @param {module:meteoJS/modelviewer/container.Container} [container] * Mirrors from this container. * @param {module:meteoJS/modelviewer/variableCollection.VariableCollection[]} * [variableCollections] - The displayVariables of these VariableCollections - * are mirrored. + * are mirrored. If omitted, all VariableCollections are mirrored. */ mirrorsFrom(container = undefined, variableCollections = undefined) { - if (this._listeners.mirror.listenerKey !== undefined) - this._listeners.mirror.container - .un('change:displayVariables', this._listeners.mirror.listenerKey); + this._listeners.mirror = + this._listeners.mirror.filter(mirrorConfig => { + if (mirrorConfig.container === container + || container === undefined) { + mirrorConfig.container + .un('change:displayVariables', mirrorConfig.listenerKey); + return false; + } + return true; + }); if (container === undefined) return; + if (variableCollections !== undefined + && variableCollections.length < 1) + return; if (variableCollections === undefined) variableCollections = this.modelviewer.resources.variableCollections; - this._listeners.mirror.container = container; - let onChangeDisplayVariables = () => { - let newDisplayVariables = new Set(); - for (let variable of container.displayVariables) + const onChangeDisplayVariables = () => { + const newDisplayVariables = new Set(); + for (const variable of container.displayVariables) variableCollections.forEach(collection => { if (variable.variableCollection === collection) newDisplayVariables.add(variable); }); this.exchangeDisplayVariable(newDisplayVariables); }; - this._listeners.mirror.listenerKey = - container.on('change:displayVariables', onChangeDisplayVariables); + const listenerKey = container + .on('change:displayVariables', onChangeDisplayVariables); + const mirrorConfig = { + container, + listenerKey, + variableCollections + }; + this._listeners.mirror.forEach(mC => { + const newVariableCollection = []; + mC.variableCollections.forEach(collection => { + let isContained = false; + variableCollections.forEach(variableCollection => { + if (variableCollection === collection) + isContained = true; + }); + if (!isContained) + newVariableCollection.push(collection); + }); + if (newVariableCollection.length < mC.variableCollections.length) + this.mirrorsFrom(mC.container, newVariableCollection); + }); + this._listeners.mirror.push(mirrorConfig); onChangeDisplayVariables(); } + + /** + * Get all containers, from which this container mirrors some variables from. + * As values of the returned Map-Object an array with the mirrored + * VariableColletions is returned. + * + * @returns {Map.<module:meteoJS/modelviewer/container.Container,module:meteoJS/modelviewer/variableCollection.VariableCollection[]>} + */ + getMirrorsFrom() { + const result = new Map(); + this._listeners.mirror.forEach(mirrorConfig => { + result.set(mirrorConfig.container, mirrorConfig.variableCollections); + }); + return result; + } /** * Sets all available times in the timeline object for this container. @@ -611,10 +690,10 @@

Source: modelviewer/Container.js

this._selectedNode = selectedNode; this._setTimes(); this._setEnabledResources(); - this.trigger( - 'change:selectedVariables', - { addedVariables, removedVariables } - ); + this._debouncedChangeSelectedVariables({ + addedVariables, + removedVariables + }); } } @@ -698,7 +777,7 @@

Source: modelviewer/Container.js

diff --git a/doc/modelviewer_Display.js.html b/doc/modelviewer_Display.js.html index 472e68af..edb847ba 100644 --- a/doc/modelviewer_Display.js.html +++ b/doc/modelviewer_Display.js.html @@ -377,7 +377,7 @@

Source: modelviewer/Display.js

diff --git a/doc/modelviewer_NWPResources.js.html b/doc/modelviewer_NWPResources.js.html index b323fc69..efd4c8a4 100644 --- a/doc/modelviewer_NWPResources.js.html +++ b/doc/modelviewer_NWPResources.js.html @@ -182,7 +182,7 @@

Source: modelviewer/NWPResources.js

diff --git a/doc/modelviewer_Node.js.html b/doc/modelviewer_Node.js.html index 2ccddab1..0f5fc882 100644 --- a/doc/modelviewer_Node.js.html +++ b/doc/modelviewer_Node.js.html @@ -87,6 +87,12 @@

Source: modelviewer/Node.js

* @private */ this._resources = new Map(); + + /** + * @type Set<undefined|module:meteoJS/modelviewer/resource.Resource[]> + * @private + */ + this._resourcesCache = undefined; } /** @@ -149,12 +155,16 @@

Source: modelviewer/Node.js

* @package */ get resources() { + if (this._resourcesCache !== undefined) + return this._resourcesCache; + let result = new Set(); for (let resources of this._resources.values()) { for (let r of resources.values()) result.add(r); } - return [...result]; + this._resourcesCache = [...result]; + return this._resourcesCache; } /** @@ -183,6 +193,8 @@

Source: modelviewer/Node.js

this._resources.get(variable.variableCollection).add(resource); }); }); + if (addedCount) + this._resourcesCache = undefined; return addedCount; } @@ -203,6 +215,8 @@

Source: modelviewer/Node.js

removedCount++; }); }); + if (removedCount) + this._resourcesCache = undefined; return removedCount; } @@ -241,7 +255,7 @@

Source: modelviewer/Node.js

diff --git a/doc/modelviewer_OffsetVariable.js.html b/doc/modelviewer_OffsetVariable.js.html index b04d0695..be923876 100644 --- a/doc/modelviewer_OffsetVariable.js.html +++ b/doc/modelviewer_OffsetVariable.js.html @@ -125,7 +125,7 @@

Source: modelviewer/OffsetVariable.js

diff --git a/doc/modelviewer_Resource.js.html b/doc/modelviewer_Resource.js.html index 374c4200..3e321f20 100644 --- a/doc/modelviewer_Resource.js.html +++ b/doc/modelviewer_Resource.js.html @@ -221,7 +221,7 @@

Source: modelviewer/Resource.js

diff --git a/doc/modelviewer_Resources.js.html b/doc/modelviewer_Resources.js.html index b2f5c0f4..08418ff8 100644 --- a/doc/modelviewer_Resources.js.html +++ b/doc/modelviewer_Resources.js.html @@ -524,7 +524,7 @@

Source: modelviewer/Resources.js

diff --git a/doc/modelviewer_TimeVariable.js.html b/doc/modelviewer_TimeVariable.js.html index 2654bdc2..02aac7c9 100644 --- a/doc/modelviewer_TimeVariable.js.html +++ b/doc/modelviewer_TimeVariable.js.html @@ -100,7 +100,7 @@

Source: modelviewer/TimeVariable.js

diff --git a/doc/modelviewer_Variable.js.html b/doc/modelviewer_Variable.js.html index 54d9bf7e..f07ec1cf 100644 --- a/doc/modelviewer_Variable.js.html +++ b/doc/modelviewer_Variable.js.html @@ -91,7 +91,7 @@

Source: modelviewer/Variable.js

diff --git a/doc/modelviewer_VariableCollection.js.html b/doc/modelviewer_VariableCollection.js.html index 1a0511ba..29d0efc0 100644 --- a/doc/modelviewer_VariableCollection.js.html +++ b/doc/modelviewer_VariableCollection.js.html @@ -163,7 +163,7 @@

Source: modelviewer/VariableCollection.js

diff --git a/doc/modelviewer_display_SelectNavigation.js.html b/doc/modelviewer_display_SelectNavigation.js.html index c8229f20..d093473b 100644 --- a/doc/modelviewer_display_SelectNavigation.js.html +++ b/doc/modelviewer_display_SelectNavigation.js.html @@ -142,7 +142,7 @@

Source: modelviewer/display/SelectNavigation.js

diff --git a/doc/modelviewer_display_Simple.js.html b/doc/modelviewer_display_Simple.js.html index 8f477638..4b89d572 100644 --- a/doc/modelviewer_display_Simple.js.html +++ b/doc/modelviewer_display_Simple.js.html @@ -132,7 +132,7 @@

Source: modelviewer/display/Simple.js

diff --git a/doc/modelviewer_resource_Image.js.html b/doc/modelviewer_resource_Image.js.html index a694af74..b69a15d1 100644 --- a/doc/modelviewer_resource_Image.js.html +++ b/doc/modelviewer_resource_Image.js.html @@ -89,7 +89,7 @@

Source: modelviewer/resource/Image.js

diff --git a/doc/modelviewer_resource_Sounding.js.html b/doc/modelviewer_resource_Sounding.js.html index 34dc053e..9a71a5bc 100644 --- a/doc/modelviewer_resource_Sounding.js.html +++ b/doc/modelviewer_resource_Sounding.js.html @@ -93,7 +93,7 @@

Source: modelviewer/resource/Sounding.js

diff --git a/doc/module-meteoJS.html b/doc/module-meteoJS.html index 1a21b8c9..dd540fa5 100644 --- a/doc/module-meteoJS.html +++ b/doc/module-meteoJS.html @@ -44,7 +44,7 @@

meteoJS

diff --git a/doc/module-meteoJS_base_collection.Collection.html b/doc/module-meteoJS_base_collection.Collection.html index 77bd0152..7e3ddd5e 100644 --- a/doc/module-meteoJS_base_collection.Collection.html +++ b/doc/module-meteoJS_base_collection.Collection.html @@ -420,7 +420,7 @@

Parameter

diff --git a/doc/module-meteoJS_base_collection.html b/doc/module-meteoJS_base_collection.html index 2b1861f0..563d19d0 100644 --- a/doc/module-meteoJS_base_collection.html +++ b/doc/module-meteoJS_base_collection.html @@ -320,7 +320,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_named.Named.html b/doc/module-meteoJS_base_named.Named.html index 6708f12f..19c46dae 100644 --- a/doc/module-meteoJS_base_named.Named.html +++ b/doc/module-meteoJS_base_named.Named.html @@ -315,7 +315,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_named.html b/doc/module-meteoJS_base_named.html index 800d41aa..d013bf04 100644 --- a/doc/module-meteoJS_base_named.html +++ b/doc/module-meteoJS_base_named.html @@ -146,7 +146,7 @@

Properties

diff --git a/doc/module-meteoJS_base_namedCollection.NamedCollection.html b/doc/module-meteoJS_base_namedCollection.NamedCollection.html index 731b657d..89b2b9ac 100644 --- a/doc/module-meteoJS_base_namedCollection.NamedCollection.html +++ b/doc/module-meteoJS_base_namedCollection.NamedCollection.html @@ -646,7 +646,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_namedCollection.html b/doc/module-meteoJS_base_namedCollection.html index 36095dfd..4d146beb 100644 --- a/doc/module-meteoJS_base_namedCollection.html +++ b/doc/module-meteoJS_base_namedCollection.html @@ -146,7 +146,7 @@

Properties

diff --git a/doc/module-meteoJS_base_unique.Unique.html b/doc/module-meteoJS_base_unique.Unique.html index 11338050..3b981194 100644 --- a/doc/module-meteoJS_base_unique.Unique.html +++ b/doc/module-meteoJS_base_unique.Unique.html @@ -156,7 +156,7 @@

Parameter

diff --git a/doc/module-meteoJS_base_unique.html b/doc/module-meteoJS_base_unique.html index 3071a844..a1113a8c 100644 --- a/doc/module-meteoJS_base_unique.html +++ b/doc/module-meteoJS_base_unique.html @@ -118,7 +118,7 @@

Property

diff --git a/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html b/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html index 76688b36..88bc6663 100644 --- a/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html +++ b/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html @@ -342,7 +342,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_uniquenamed.html b/doc/module-meteoJS_base_uniquenamed.html index 121d1bbc..29b8c8fe 100644 --- a/doc/module-meteoJS_base_uniquenamed.html +++ b/doc/module-meteoJS_base_uniquenamed.html @@ -118,7 +118,7 @@

Property

diff --git a/doc/module-meteoJS_calc.html b/doc/module-meteoJS_calc.html index c432d20d..3e03ad94 100644 --- a/doc/module-meteoJS_calc.html +++ b/doc/module-meteoJS_calc.html @@ -1319,7 +1319,7 @@

Parameter

diff --git a/doc/module-meteoJS_events.html b/doc/module-meteoJS_events.html index c66f57e9..a638e9d4 100644 --- a/doc/module-meteoJS_events.html +++ b/doc/module-meteoJS_events.html @@ -363,7 +363,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer.Modelviewer.html b/doc/module-meteoJS_modelviewer.Modelviewer.html index 0d55ff19..80e8ddf5 100644 --- a/doc/module-meteoJS_modelviewer.Modelviewer.html +++ b/doc/module-meteoJS_modelviewer.Modelviewer.html @@ -210,7 +210,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer.html b/doc/module-meteoJS_modelviewer.html index feadf652..f17840cd 100644 --- a/doc/module-meteoJS_modelviewer.html +++ b/doc/module-meteoJS_modelviewer.html @@ -238,7 +238,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_container.Container.html b/doc/module-meteoJS_modelviewer_container.Container.html index 9bf64867..1d7cda77 100644 --- a/doc/module-meteoJS_modelviewer_container.Container.html +++ b/doc/module-meteoJS_modelviewer_container.Container.html @@ -84,6 +84,9 @@

Methods

exchangeDisplayVariable(variables)
+
getMirrorsFrom()
+
+
@@ -91,15 +94,13 @@

Methods

mirrorsFrom([container][, variableCollections])
-
-
-
-
setId(id)
+
+
@@ -250,12 +251,23 @@

Parameter

module:meteoJS/modelviewer/container.Container - This.

+

getMirrorsFrom() → Object with module:meteoJS/modelviewer/container.Container keys and Array of module:meteoJS/modelviewer/variableCollection.VariableCollection properties

+

Get all containers, from which this container mirrors some variables from. + As values of the returned Map-Object an array with the mirrored + VariableColletions is returned.

+
+
Returns
+
+

Object with module:meteoJS/modelviewer/container.Container keys and Array of module:meteoJS/modelviewer/variableCollection.VariableCollection properties 

+
+

mirrorsFrom([container][, variableCollections])

Mirrors (parts of) the displayVariables form another container. With this feature, e.g. in different containers can be viewed plots of different models. If you change e.g. the field in the first container, all other containers, that mirrors form this container, will also change the viewed - content.

+ content. It is possible to mirror different VariableCollections from + different containers.

Parameters

@@ -294,7 +306,7 @@

Parameters

@@ -348,7 +360,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_container.html b/doc/module-meteoJS_modelviewer_container.html index 665203ac..4c8b941d 100644 --- a/doc/module-meteoJS_modelviewer_container.html +++ b/doc/module-meteoJS_modelviewer_container.html @@ -620,7 +620,7 @@

change:visibleRe
diff --git a/doc/module-meteoJS_modelviewer_display.Display.html b/doc/module-meteoJS_modelviewer_display.Display.html index f8a3ef2c..51600728 100644 --- a/doc/module-meteoJS_modelviewer_display.Display.html +++ b/doc/module-meteoJS_modelviewer_display.Display.html @@ -156,7 +156,7 @@

render<
diff --git a/doc/module-meteoJS_modelviewer_display.html b/doc/module-meteoJS_modelviewer_display.html index db5d582b..c42aaebd 100644 --- a/doc/module-meteoJS_modelviewer_display.html +++ b/doc/module-meteoJS_modelviewer_display.html @@ -279,7 +279,7 @@

init:display

diff --git a/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html b/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html index 81e11809..3d29c5c9 100644 --- a/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html +++ b/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html @@ -69,7 +69,7 @@

onInit<
diff --git a/doc/module-meteoJS_modelviewer_display_selectNavigation.html b/doc/module-meteoJS_modelviewer_display_selectNavigation.html index bde48e7d..a24a54b4 100644 --- a/doc/module-meteoJS_modelviewer_display_selectNavigation.html +++ b/doc/module-meteoJS_modelviewer_display_selectNavigation.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_modelviewer_display_simple.Simple.html b/doc/module-meteoJS_modelviewer_display_simple.Simple.html index 14fed2bc..ce736752 100644 --- a/doc/module-meteoJS_modelviewer_display_simple.Simple.html +++ b/doc/module-meteoJS_modelviewer_display_simple.Simple.html @@ -106,7 +106,7 @@

onInit<
diff --git a/doc/module-meteoJS_modelviewer_display_simple.html b/doc/module-meteoJS_modelviewer_display_simple.html index ea2fc2c4..535e1abe 100644 --- a/doc/module-meteoJS_modelviewer_display_simple.html +++ b/doc/module-meteoJS_modelviewer_display_simple.html @@ -64,7 +64,7 @@

Simple diff --git a/doc/module-meteoJS_modelviewer_node.Node.html b/doc/module-meteoJS_modelviewer_node.Node.html index b35561d1..a84b9375 100644 --- a/doc/module-meteoJS_modelviewer_node.Node.html +++ b/doc/module-meteoJS_modelviewer_node.Node.html @@ -381,7 +381,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_node.html b/doc/module-meteoJS_modelviewer_node.html index 48e26ea0..3fb2517c 100644 --- a/doc/module-meteoJS_modelviewer_node.html +++ b/doc/module-meteoJS_modelviewer_node.html @@ -116,7 +116,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html b/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html index e1a7c73a..c00b6a47 100644 --- a/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html +++ b/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html @@ -287,7 +287,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_nwpResources.html b/doc/module-meteoJS_modelviewer_nwpResources.html index 2a82a738..dc382314 100644 --- a/doc/module-meteoJS_modelviewer_nwpResources.html +++ b/doc/module-meteoJS_modelviewer_nwpResources.html @@ -64,7 +64,7 @@

NWPResou diff --git a/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html b/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html index d99e26f9..a94af20e 100644 --- a/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html +++ b/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html @@ -128,7 +128,7 @@

run
diff --git a/doc/module-meteoJS_modelviewer_offsetVariable.html b/doc/module-meteoJS_modelviewer_offsetVariable.html index e54f4a63..70da6f50 100644 --- a/doc/module-meteoJS_modelviewer_offsetVariable.html +++ b/doc/module-meteoJS_modelviewer_offsetVariable.html @@ -132,7 +132,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_resource.Resource.html b/doc/module-meteoJS_modelviewer_resource.Resource.html index e333f718..5cb7cb0d 100644 --- a/doc/module-meteoJS_modelviewer_resource.Resource.html +++ b/doc/module-meteoJS_modelviewer_resource.Resource.html @@ -310,7 +310,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resource.html b/doc/module-meteoJS_modelviewer_resource.html index 25809410..5ffccf75 100644 --- a/doc/module-meteoJS_modelviewer_resource.html +++ b/doc/module-meteoJS_modelviewer_resource.html @@ -160,7 +160,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_resource_image.Image.html b/doc/module-meteoJS_modelviewer_resource_image.Image.html index 0e779c28..ff88790f 100644 --- a/doc/module-meteoJS_modelviewer_resource_image.Image.html +++ b/doc/module-meteoJS_modelviewer_resource_image.Image.html @@ -103,7 +103,7 @@

url
diff --git a/doc/module-meteoJS_modelviewer_resource_image.html b/doc/module-meteoJS_modelviewer_resource_image.html index 2a14585a..9260ada3 100644 --- a/doc/module-meteoJS_modelviewer_resource_image.html +++ b/doc/module-meteoJS_modelviewer_resource_image.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html b/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html index aa454eec..5c450366 100644 --- a/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html +++ b/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html @@ -103,7 +103,7 @@

sounding diff --git a/doc/module-meteoJS_modelviewer_resource_sounding.html b/doc/module-meteoJS_modelviewer_resource_sounding.html index 0258be9f..2e35cbc1 100644 --- a/doc/module-meteoJS_modelviewer_resource_sounding.html +++ b/doc/module-meteoJS_modelviewer_resource_sounding.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resources.Resources.html b/doc/module-meteoJS_modelviewer_resources.Resources.html index ba35b1ab..5a06c134 100644 --- a/doc/module-meteoJS_modelviewer_resources.Resources.html +++ b/doc/module-meteoJS_modelviewer_resources.Resources.html @@ -599,7 +599,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resources.html b/doc/module-meteoJS_modelviewer_resources.html index b8c98463..58625f91 100644 --- a/doc/module-meteoJS_modelviewer_resources.html +++ b/doc/module-meteoJS_modelviewer_resources.html @@ -201,7 +201,7 @@

Properties

diff --git a/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html b/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html index e63ccd14..03aa359b 100644 --- a/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html +++ b/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html @@ -124,7 +124,7 @@

setId diff --git a/doc/module-meteoJS_modelviewer_timeVariable.html b/doc/module-meteoJS_modelviewer_timeVariable.html index c2bbb307..7c9f320e 100644 --- a/doc/module-meteoJS_modelviewer_timeVariable.html +++ b/doc/module-meteoJS_modelviewer_timeVariable.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_variable.Variable.html b/doc/module-meteoJS_modelviewer_variable.Variable.html index 7d3a84dc..09323d32 100644 --- a/doc/module-meteoJS_modelviewer_variable.Variable.html +++ b/doc/module-meteoJS_modelviewer_variable.Variable.html @@ -103,7 +103,7 @@

variableCollection<
diff --git a/doc/module-meteoJS_modelviewer_variable.html b/doc/module-meteoJS_modelviewer_variable.html index 861a0623..b5804982 100644 --- a/doc/module-meteoJS_modelviewer_variable.html +++ b/doc/module-meteoJS_modelviewer_variable.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html b/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html index 25419826..d2d5ef97 100644 --- a/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html +++ b/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html @@ -198,7 +198,7 @@

setId diff --git a/doc/module-meteoJS_modelviewer_variableCollection.html b/doc/module-meteoJS_modelviewer_variableCollection.html index cffc8594..ff72142f 100644 --- a/doc/module-meteoJS_modelviewer_variableCollection.html +++ b/doc/module-meteoJS_modelviewer_variableCollection.html @@ -179,7 +179,7 @@

Parameter

diff --git a/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html b/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html index 8aec20dc..00eb4a8f 100644 --- a/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html +++ b/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html @@ -169,7 +169,7 @@

stop diff --git a/doc/module-meteoJS_repetitiveRequests.html b/doc/module-meteoJS_repetitiveRequests.html index 2c541191..a9c51601 100644 --- a/doc/module-meteoJS_repetitiveRequests.html +++ b/doc/module-meteoJS_repetitiveRequests.html @@ -326,7 +326,7 @@

Property

diff --git a/doc/module-meteoJS_sounding.Sounding.html b/doc/module-meteoJS_sounding.Sounding.html index fa7518f7..2264c4f8 100644 --- a/doc/module-meteoJS_sounding.Sounding.html +++ b/doc/module-meteoJS_sounding.Sounding.html @@ -403,7 +403,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding.html b/doc/module-meteoJS_sounding.html index b178a38e..7c5c641c 100644 --- a/doc/module-meteoJS_sounding.html +++ b/doc/module-meteoJS_sounding.html @@ -347,7 +347,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding_parcel.Parcel.html b/doc/module-meteoJS_sounding_parcel.Parcel.html index a498b64f..992d67d1 100644 --- a/doc/module-meteoJS_sounding_parcel.Parcel.html +++ b/doc/module-meteoJS_sounding_parcel.Parcel.html @@ -502,7 +502,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding_parcel.html b/doc/module-meteoJS_sounding_parcel.html index 0138c550..c9366f75 100644 --- a/doc/module-meteoJS_sounding_parcel.html +++ b/doc/module-meteoJS_sounding_parcel.html @@ -706,7 +706,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview.html b/doc/module-meteoJS_synview.html index c9e26096..3f26c37b 100644 --- a/doc/module-meteoJS_synview.html +++ b/doc/module-meteoJS_synview.html @@ -301,7 +301,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_collection.Collection.html b/doc/module-meteoJS_synview_collection.Collection.html index eb415071..0f088a74 100644 --- a/doc/module-meteoJS_synview_collection.Collection.html +++ b/doc/module-meteoJS_synview_collection.Collection.html @@ -309,7 +309,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_collection.html b/doc/module-meteoJS_synview_collection.html index c76a69cc..b6c4535e 100644 --- a/doc/module-meteoJS_synview_collection.html +++ b/doc/module-meteoJS_synview_collection.html @@ -206,7 +206,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_map.SynviewMap.html b/doc/module-meteoJS_synview_map.SynviewMap.html index 0535fe45..19fefef4 100644 --- a/doc/module-meteoJS_synview_map.SynviewMap.html +++ b/doc/module-meteoJS_synview_map.SynviewMap.html @@ -342,7 +342,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map.html b/doc/module-meteoJS_synview_map.html index 87d88bdf..9746d491 100644 --- a/doc/module-meteoJS_synview_map.html +++ b/doc/module-meteoJS_synview_map.html @@ -278,7 +278,7 @@

singleclick:pointer
diff --git a/doc/module-meteoJS_synview_map_ll.MapLL.html b/doc/module-meteoJS_synview_map_ll.MapLL.html index b8ad6430..93d12213 100644 --- a/doc/module-meteoJS_synview_map_ll.MapLL.html +++ b/doc/module-meteoJS_synview_map_ll.MapLL.html @@ -328,7 +328,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map_ll.html b/doc/module-meteoJS_synview_map_ll.html index c0947f46..4f4e5356 100644 --- a/doc/module-meteoJS_synview_map_ll.html +++ b/doc/module-meteoJS_synview_map_ll.html @@ -64,7 +64,7 @@

MapLL

diff --git a/doc/module-meteoJS_synview_map_ol.MapOL.html b/doc/module-meteoJS_synview_map_ol.MapOL.html index d03fcc9f..4fe5563e 100644 --- a/doc/module-meteoJS_synview_map_ol.MapOL.html +++ b/doc/module-meteoJS_synview_map_ol.MapOL.html @@ -308,7 +308,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map_ol.html b/doc/module-meteoJS_synview_map_ol.html index 232caa48..38ba8593 100644 --- a/doc/module-meteoJS_synview_map_ol.html +++ b/doc/module-meteoJS_synview_map_ol.html @@ -100,7 +100,7 @@

projwgs84 diff --git a/doc/module-meteoJS_synview_resource.Resource.html b/doc/module-meteoJS_synview_resource.Resource.html index 36ee1055..3207eb2e 100644 --- a/doc/module-meteoJS_synview_resource.Resource.html +++ b/doc/module-meteoJS_synview_resource.Resource.html @@ -491,7 +491,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource.html b/doc/module-meteoJS_synview_resource.html index b2a92d25..b9e588ba 100644 --- a/doc/module-meteoJS_synview_resource.html +++ b/doc/module-meteoJS_synview_resource.html @@ -260,7 +260,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html b/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html index 9812e5e4..989cdba4 100644 --- a/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html +++ b/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html @@ -517,7 +517,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resourceCollection.html b/doc/module-meteoJS_synview_resourceCollection.html index a345c2e7..0457360f 100644 --- a/doc/module-meteoJS_synview_resourceCollection.html +++ b/doc/module-meteoJS_synview_resourceCollection.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html b/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html index 9b1e8dd7..cd91b857 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html +++ b/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html @@ -549,7 +549,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_GeoJSON.html b/doc/module-meteoJS_synview_resource_GeoJSON.html index afd13feb..97d795a0 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSON.html +++ b/doc/module-meteoJS_synview_resource_GeoJSON.html @@ -64,7 +64,7 @@

GeoJSON diff --git a/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html b/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html index 43a661ac..e1cf3f3b 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html +++ b/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html @@ -81,7 +81,7 @@

makeOLLayer diff --git a/doc/module-meteoJS_synview_resource_GeoJSONTile.html b/doc/module-meteoJS_synview_resource_GeoJSONTile.html index 628c1e8b..6a40bf17 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSONTile.html +++ b/doc/module-meteoJS_synview_resource_GeoJSONTile.html @@ -64,7 +64,7 @@

GeoJS diff --git a/doc/module-meteoJS_synview_resource_Image.ImageStatic.html b/doc/module-meteoJS_synview_resource_Image.ImageStatic.html index 8861652c..2f535b62 100644 --- a/doc/module-meteoJS_synview_resource_Image.ImageStatic.html +++ b/doc/module-meteoJS_synview_resource_Image.ImageStatic.html @@ -538,7 +538,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_Image.html b/doc/module-meteoJS_synview_resource_Image.html index 15baa558..bcc564db 100644 --- a/doc/module-meteoJS_synview_resource_Image.html +++ b/doc/module-meteoJS_synview_resource_Image.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_OSM.OSM.html b/doc/module-meteoJS_synview_resource_OSM.OSM.html index 358a55f2..25d1b028 100644 --- a/doc/module-meteoJS_synview_resource_OSM.OSM.html +++ b/doc/module-meteoJS_synview_resource_OSM.OSM.html @@ -506,7 +506,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_OSM.html b/doc/module-meteoJS_synview_resource_OSM.html index 9e9dd276..43bc81b1 100644 --- a/doc/module-meteoJS_synview_resource_OSM.html +++ b/doc/module-meteoJS_synview_resource_OSM.html @@ -64,7 +64,7 @@

OSM

diff --git a/doc/module-meteoJS_synview_resource_Vector.Vector.html b/doc/module-meteoJS_synview_resource_Vector.Vector.html index e3e11e48..5408e565 100644 --- a/doc/module-meteoJS_synview_resource_Vector.Vector.html +++ b/doc/module-meteoJS_synview_resource_Vector.Vector.html @@ -547,7 +547,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_Vector.html b/doc/module-meteoJS_synview_resource_Vector.html index feb08674..213abdfa 100644 --- a/doc/module-meteoJS_synview_resource_Vector.html +++ b/doc/module-meteoJS_synview_resource_Vector.html @@ -64,7 +64,7 @@

Vector

diff --git a/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html b/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html index 0e8479c9..7740caf6 100644 --- a/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html +++ b/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html @@ -79,7 +79,7 @@

makeOLLayer diff --git a/doc/module-meteoJS_synview_resource_VectorTile.html b/doc/module-meteoJS_synview_resource_VectorTile.html index 1a0c652a..c332fc57 100644 --- a/doc/module-meteoJS_synview_resource_VectorTile.html +++ b/doc/module-meteoJS_synview_resource_VectorTile.html @@ -64,7 +64,7 @@

VectorT diff --git a/doc/module-meteoJS_synview_tooltip.Tooltip.html b/doc/module-meteoJS_synview_tooltip.Tooltip.html index 7eb64224..6fae2e37 100644 --- a/doc/module-meteoJS_synview_tooltip.Tooltip.html +++ b/doc/module-meteoJS_synview_tooltip.Tooltip.html @@ -80,7 +80,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_tooltip.html b/doc/module-meteoJS_synview_tooltip.html index 9ce7df18..1ae0971e 100644 --- a/doc/module-meteoJS_synview_tooltip.html +++ b/doc/module-meteoJS_synview_tooltip.html @@ -191,7 +191,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_type.Type.html b/doc/module-meteoJS_synview_type.Type.html index ebe88969..1f41bb5f 100644 --- a/doc/module-meteoJS_synview_type.Type.html +++ b/doc/module-meteoJS_synview_type.Type.html @@ -618,7 +618,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_type.html b/doc/module-meteoJS_synview_type.html index bd460c90..f24dd430 100644 --- a/doc/module-meteoJS_synview_type.html +++ b/doc/module-meteoJS_synview_type.html @@ -339,7 +339,7 @@

change:visible diff --git a/doc/module-meteoJS_synview_typeCollection.TypeCollection.html b/doc/module-meteoJS_synview_typeCollection.TypeCollection.html index 0c8aab32..63b63d42 100644 --- a/doc/module-meteoJS_synview_typeCollection.TypeCollection.html +++ b/doc/module-meteoJS_synview_typeCollection.TypeCollection.html @@ -400,7 +400,7 @@

setSyncVisibility diff --git a/doc/module-meteoJS_synview_typeCollection.html b/doc/module-meteoJS_synview_typeCollection.html index d2095453..0d4f4f5f 100644 --- a/doc/module-meteoJS_synview_typeCollection.html +++ b/doc/module-meteoJS_synview_typeCollection.html @@ -133,7 +133,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html b/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html index cc4bedbf..b453c395 100644 --- a/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html @@ -664,7 +664,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram.html b/doc/module-meteoJS_thermodynamicDiagram.html index d557159c..47ae0be4 100644 --- a/doc/module-meteoJS_thermodynamicDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram.html @@ -609,7 +609,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable.html b/doc/module-meteoJS_thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable.html index ec76e20c..7f48e261 100644 --- a/doc/module-meteoJS_thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable.html +++ b/doc/module-meteoJS_thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable.html @@ -632,7 +632,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagramPluggable.html b/doc/module-meteoJS_thermodynamicDiagramPluggable.html index ab8255c1..33b5effb 100644 --- a/doc/module-meteoJS_thermodynamicDiagramPluggable.html +++ b/doc/module-meteoJS_thermodynamicDiagramPluggable.html @@ -146,7 +146,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_axes_axisLabels.html b/doc/module-meteoJS_thermodynamicDiagram_axes_axes_axisLabels.html index 7952d3c7..3b8376a9 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_axes_axisLabels.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_axes_axisLabels.html @@ -44,7 +44,7 @@

meteoJS/thermodynamicDiagram/axes/a
diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.html index b4c13def..ede26f4e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.html @@ -64,7 +64,7 @@

xAxis diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html index 26a830db..0c56cac0 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html @@ -75,7 +75,7 @@

_drawBackground diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html index 08de478b..21508b6d 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html @@ -132,7 +132,7 @@

Properties

diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html index 5559595c..c217c37d 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html @@ -389,7 +389,7 @@

onCoordinateSystemCh
diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html index 93b881b0..671855aa 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html @@ -1374,7 +1374,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html index 2094b246..0a376408 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html @@ -330,7 +330,7 @@

change:options diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html index 4c60ef5b..bb97e84e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html @@ -1394,7 +1394,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html index 5bc891af..0b3bf58e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html index fc38c853..33bee12e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html @@ -1391,7 +1391,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html index e329da14..10496354 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html index 317e82aa..107d412e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html @@ -1397,7 +1397,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html index 7802cd90..6df82389 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html index d213ca57..8d3fbf67 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html @@ -237,7 +237,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html index e7d93561..954676c0 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html @@ -263,7 +263,7 @@

change:visible diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html index d712cb91..c291be52 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html @@ -348,7 +348,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.html b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.html index 5dce051b..99542666 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.html @@ -413,7 +413,7 @@

change:visible diff --git a/doc/module-meteoJS_thermodynamicDiagram_functions.html b/doc/module-meteoJS_thermodynamicDiagram_functions.html index 394fff38..a34ed5ef 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_functions.html +++ b/doc/module-meteoJS_thermodynamicDiagram_functions.html @@ -637,7 +637,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html b/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html index f8d6999c..4f00d736 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html +++ b/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html @@ -667,7 +667,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_hodograph.html b/doc/module-meteoJS_thermodynamicDiagram_hodograph.html index cc5f9c24..b57db52e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_hodograph.html +++ b/doc/module-meteoJS_thermodynamicDiagram_hodograph.html @@ -309,7 +309,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html index b3a41854..c8f1bd57 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html @@ -609,7 +609,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html index 62b5b53e..a9e3e254 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html @@ -286,7 +286,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html index ba26649b..018c21e8 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html @@ -408,7 +408,7 @@

onCoordinateSystemCh
diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotArea.html index 7a28804e..b7477804 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotArea.html @@ -627,7 +627,7 @@

prebuild:background
diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html index 30dcede4..5b0f51ff 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html @@ -686,7 +686,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html index 6445df1e..a2a2ceb1 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html @@ -701,7 +701,7 @@

remove:sounding<
diff --git a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html index 5e4ef90e..fcd4051e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html @@ -902,7 +902,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html index b4cee6ad..7879944f 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html @@ -894,7 +894,7 @@

touchstart diff --git a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html index 14a6185e..6662df8d 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html @@ -618,7 +618,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html index 30194361..342a6e5c 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html @@ -134,7 +134,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html index e94402af..322ac3b8 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html @@ -582,7 +582,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html index 7d6d35c1..023eaabe 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html @@ -159,7 +159,7 @@

options diff --git a/doc/module-meteoJS_timeline.Timeline.html b/doc/module-meteoJS_timeline.Timeline.html index 4be497f1..a0efd949 100644 --- a/doc/module-meteoJS_timeline.Timeline.html +++ b/doc/module-meteoJS_timeline.Timeline.html @@ -684,7 +684,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline.html b/doc/module-meteoJS_timeline.html index dc54ee82..f36d270d 100644 --- a/doc/module-meteoJS_timeline.html +++ b/doc/module-meteoJS_timeline.html @@ -402,7 +402,7 @@

change:times

diff --git a/doc/module-meteoJS_timeline_animation.Animation.html b/doc/module-meteoJS_timeline_animation.Animation.html index a1f4c4d5..d51368a3 100644 --- a/doc/module-meteoJS_timeline_animation.Animation.html +++ b/doc/module-meteoJS_timeline_animation.Animation.html @@ -300,7 +300,7 @@

toggle<
diff --git a/doc/module-meteoJS_timeline_animation.html b/doc/module-meteoJS_timeline_animation.html index 4311fea7..b47880fd 100644 --- a/doc/module-meteoJS_timeline_animation.html +++ b/doc/module-meteoJS_timeline_animation.html @@ -931,7 +931,7 @@

stop:animation diff --git a/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html b/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html index d9f44b48..caf9948f 100644 --- a/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html +++ b/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html @@ -79,7 +79,7 @@

Parameter

diff --git a/doc/module-meteoJS_timeline_animation_togglebutton.html b/doc/module-meteoJS_timeline_animation_togglebutton.html index 4d465dcb..0c446710 100644 --- a/doc/module-meteoJS_timeline_animation_togglebutton.html +++ b/doc/module-meteoJS_timeline_animation_togglebutton.html @@ -64,7 +64,7 @@

T diff --git a/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html b/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html index 981408f8..eaa12c6c 100644 --- a/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html +++ b/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html @@ -149,7 +149,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_navigationButtons.html b/doc/module-meteoJS_timeline_navigationButtons.html index 894cb611..8b3ca517 100644 --- a/doc/module-meteoJS_timeline_navigationButtons.html +++ b/doc/module-meteoJS_timeline_navigationButtons.html @@ -377,7 +377,7 @@

Properties

diff --git a/doc/module-meteoJS_timeline_visualisation.Visualisation.html b/doc/module-meteoJS_timeline_visualisation.Visualisation.html index c18c9e6c..26f1b4a6 100644 --- a/doc/module-meteoJS_timeline_visualisation.Visualisation.html +++ b/doc/module-meteoJS_timeline_visualisation.Visualisation.html @@ -426,7 +426,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation.html b/doc/module-meteoJS_timeline_visualisation.html index e3573310..41efc309 100644 --- a/doc/module-meteoJS_timeline_visualisation.html +++ b/doc/module-meteoJS_timeline_visualisation.html @@ -337,7 +337,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html b/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html index b572e0ba..10bb7ce0 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html +++ b/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html @@ -26,7 +26,7 @@

The displayVariables of these VariableCollections - are mirrored.

+ are mirrored. If omitted, all VariableCollections are mirrored.

+ + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

format

+
+

(String or module:meteoJS/timeline/visualisation/bsButtons~timeFormatFunction)

+
+

Yes

+
+

Format-String for the time of the Time-Buttons.

+

Defaults to 'HH'.

+
+
+
+
+
inner
+

timeFormatFunction(time) → String

+

Dynamic format string to output the time for each Time-Button.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

time

+
+

Date

+
+

 

+
+

Timestamp of the Button.

+
+
+
Returns
+
+

String A string to format the time for the Time-Buttons.

+
@@ -89,7 +162,7 @@

options diff --git a/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html b/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html index 794e8bc8..055f7064 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html +++ b/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html @@ -432,7 +432,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_bsDropdown.html b/doc/module-meteoJS_timeline_visualisation_bsDropdown.html index 279a7562..b38537d8 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsDropdown.html +++ b/doc/module-meteoJS_timeline_visualisation_bsDropdown.html @@ -357,7 +357,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_slider.Slider.html b/doc/module-meteoJS_timeline_visualisation_slider.Slider.html index a208e23b..25503834 100644 --- a/doc/module-meteoJS_timeline_visualisation_slider.Slider.html +++ b/doc/module-meteoJS_timeline_visualisation_slider.Slider.html @@ -431,7 +431,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_slider.html b/doc/module-meteoJS_timeline_visualisation_slider.html index 12f4590c..d3d89dbf 100644 --- a/doc/module-meteoJS_timeline_visualisation_slider.html +++ b/doc/module-meteoJS_timeline_visualisation_slider.html @@ -89,7 +89,7 @@

options diff --git a/doc/module-meteoJS_timeline_visualisation_text.Text.html b/doc/module-meteoJS_timeline_visualisation_text.Text.html index 496b150c..a0cc6631 100644 --- a/doc/module-meteoJS_timeline_visualisation_text.Text.html +++ b/doc/module-meteoJS_timeline_visualisation_text.Text.html @@ -431,7 +431,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_text.html b/doc/module-meteoJS_timeline_visualisation_text.html index 072e5935..71d85fdc 100644 --- a/doc/module-meteoJS_timeline_visualisation_text.html +++ b/doc/module-meteoJS_timeline_visualisation_text.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_tooltip.Tooltip.html b/doc/module-meteoJS_tooltip.Tooltip.html index bada6329..ce75a3f7 100644 --- a/doc/module-meteoJS_tooltip.Tooltip.html +++ b/doc/module-meteoJS_tooltip.Tooltip.html @@ -220,7 +220,7 @@

update<
diff --git a/doc/module-meteoJS_tooltip.html b/doc/module-meteoJS_tooltip.html index 40debb21..c5fe1bff 100644 --- a/doc/module-meteoJS_tooltip.html +++ b/doc/module-meteoJS_tooltip.html @@ -96,7 +96,7 @@

show:tooltip

diff --git a/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html b/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html index 99cc103e..3ddcdef9 100644 --- a/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html +++ b/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html @@ -267,7 +267,7 @@

update<
diff --git a/doc/module-meteoJS_tooltip_bootstrapTooltip.html b/doc/module-meteoJS_tooltip_bootstrapTooltip.html index 1014ec9f..bbafacae 100644 --- a/doc/module-meteoJS_tooltip_bootstrapTooltip.html +++ b/doc/module-meteoJS_tooltip_bootstrapTooltip.html @@ -162,7 +162,7 @@

Properties

diff --git a/doc/sounding_Parcel.js.html b/doc/sounding_Parcel.js.html index 70334b20..631848a9 100644 --- a/doc/sounding_Parcel.js.html +++ b/doc/sounding_Parcel.js.html @@ -446,7 +446,7 @@

Source: sounding/Parcel.js

diff --git a/doc/synview_Collection.js.html b/doc/synview_Collection.js.html index 6d9021ae..b9027fd1 100644 --- a/doc/synview_Collection.js.html +++ b/doc/synview_Collection.js.html @@ -192,7 +192,7 @@

Source: synview/Collection.js

diff --git a/doc/synview_Resource.js.html b/doc/synview_Resource.js.html index f2633d4b..447fe3de 100644 --- a/doc/synview_Resource.js.html +++ b/doc/synview_Resource.js.html @@ -549,7 +549,7 @@

Source: synview/Resource.js

diff --git a/doc/synview_ResourceCollection.js.html b/doc/synview_ResourceCollection.js.html index 528205fc..0839932b 100644 --- a/doc/synview_ResourceCollection.js.html +++ b/doc/synview_ResourceCollection.js.html @@ -278,7 +278,7 @@

Source: synview/ResourceCollection.js

diff --git a/doc/synview_SynviewMap.js.html b/doc/synview_SynviewMap.js.html index 9902cbc5..850c71bd 100644 --- a/doc/synview_SynviewMap.js.html +++ b/doc/synview_SynviewMap.js.html @@ -210,7 +210,7 @@

Source: synview/SynviewMap.js

diff --git a/doc/synview_Tooltip.js.html b/doc/synview_Tooltip.js.html index f0114e45..fc47e1bb 100644 --- a/doc/synview_Tooltip.js.html +++ b/doc/synview_Tooltip.js.html @@ -171,7 +171,7 @@

Source: synview/Tooltip.js

diff --git a/doc/synview_Type.js.html b/doc/synview_Type.js.html index cd8fc88f..0f3b6c2d 100644 --- a/doc/synview_Type.js.html +++ b/doc/synview_Type.js.html @@ -574,7 +574,7 @@

Source: synview/Type.js

diff --git a/doc/synview_TypeCollection.js.html b/doc/synview_TypeCollection.js.html index 0569d859..82e2dcb6 100644 --- a/doc/synview_TypeCollection.js.html +++ b/doc/synview_TypeCollection.js.html @@ -200,7 +200,7 @@

Source: synview/TypeCollection.js

diff --git a/doc/synview_map_MapLL.js.html b/doc/synview_map_MapLL.js.html index a669a68e..7b39f9df 100644 --- a/doc/synview_map_MapLL.js.html +++ b/doc/synview_map_MapLL.js.html @@ -70,7 +70,7 @@

Source: synview/map/MapLL.js

diff --git a/doc/synview_map_MapOL.js.html b/doc/synview_map_MapOL.js.html index 86c500bd..3d9a59f0 100644 --- a/doc/synview_map_MapOL.js.html +++ b/doc/synview_map_MapOL.js.html @@ -253,7 +253,7 @@

Source: synview/map/MapOL.js

diff --git a/doc/synview_resource_GeoJSON.js.html b/doc/synview_resource_GeoJSON.js.html index 1023291f..fd406fc9 100644 --- a/doc/synview_resource_GeoJSON.js.html +++ b/doc/synview_resource_GeoJSON.js.html @@ -60,7 +60,7 @@

Source: synview/resource/GeoJSON.js

diff --git a/doc/synview_resource_GeoJSONTile.js.html b/doc/synview_resource_GeoJSONTile.js.html index 126c0650..1c87b075 100644 --- a/doc/synview_resource_GeoJSONTile.js.html +++ b/doc/synview_resource_GeoJSONTile.js.html @@ -59,7 +59,7 @@

Source: synview/resource/GeoJSONTile.js

diff --git a/doc/synview_resource_Image.js.html b/doc/synview_resource_Image.js.html index 46fd8b19..4c966fa7 100644 --- a/doc/synview_resource_Image.js.html +++ b/doc/synview_resource_Image.js.html @@ -132,7 +132,7 @@

Source: synview/resource/Image.js

diff --git a/doc/synview_resource_OSM.js.html b/doc/synview_resource_OSM.js.html index 4a749553..00ebbeeb 100644 --- a/doc/synview_resource_OSM.js.html +++ b/doc/synview_resource_OSM.js.html @@ -68,7 +68,7 @@

Source: synview/resource/OSM.js

diff --git a/doc/synview_resource_Vector.js.html b/doc/synview_resource_Vector.js.html index 3417a97e..5af578ea 100644 --- a/doc/synview_resource_Vector.js.html +++ b/doc/synview_resource_Vector.js.html @@ -115,7 +115,7 @@

Source: synview/resource/Vector.js

diff --git a/doc/synview_resource_VectorTile.js.html b/doc/synview_resource_VectorTile.js.html index d9b92412..5fe31a9d 100644 --- a/doc/synview_resource_VectorTile.js.html +++ b/doc/synview_resource_VectorTile.js.html @@ -87,7 +87,7 @@

Source: synview/resource/VectorTile.js

diff --git a/doc/thermodynamicDiagram_CoordinateSystem.js.html b/doc/thermodynamicDiagram_CoordinateSystem.js.html index 3a315a57..248b73d6 100644 --- a/doc/thermodynamicDiagram_CoordinateSystem.js.html +++ b/doc/thermodynamicDiagram_CoordinateSystem.js.html @@ -641,7 +641,7 @@

Source: thermodynamicDiagram/CoordinateSystem.js

diff --git a/doc/thermodynamicDiagram_DiagramParcel.js.html b/doc/thermodynamicDiagram_DiagramParcel.js.html index 3e3486cd..179b9b06 100644 --- a/doc/thermodynamicDiagram_DiagramParcel.js.html +++ b/doc/thermodynamicDiagram_DiagramParcel.js.html @@ -213,7 +213,7 @@

Source: thermodynamicDiagram/DiagramParcel.js

diff --git a/doc/thermodynamicDiagram_DiagramSounding.js.html b/doc/thermodynamicDiagram_DiagramSounding.js.html index ab2cf0a4..a649c53c 100644 --- a/doc/thermodynamicDiagram_DiagramSounding.js.html +++ b/doc/thermodynamicDiagram_DiagramSounding.js.html @@ -515,7 +515,7 @@

Source: thermodynamicDiagram/DiagramSounding.js

diff --git a/doc/thermodynamicDiagram_Functions.js.html b/doc/thermodynamicDiagram_Functions.js.html index 1b2ad24b..75b90c87 100644 --- a/doc/thermodynamicDiagram_Functions.js.html +++ b/doc/thermodynamicDiagram_Functions.js.html @@ -401,7 +401,7 @@

Source: thermodynamicDiagram/Functions.js

diff --git a/doc/thermodynamicDiagram_Hodograph.js.html b/doc/thermodynamicDiagram_Hodograph.js.html index 633f6fd2..42d2d3c8 100644 --- a/doc/thermodynamicDiagram_Hodograph.js.html +++ b/doc/thermodynamicDiagram_Hodograph.js.html @@ -306,7 +306,7 @@

Source: thermodynamicDiagram/Hodograph.js

diff --git a/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html b/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html index 46546ee3..e987d266 100644 --- a/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html +++ b/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html @@ -237,7 +237,7 @@

Source: thermodynamicDiagram/PlotAltitudeDataArea.js

diff --git a/doc/thermodynamicDiagram_TDDiagram.js.html b/doc/thermodynamicDiagram_TDDiagram.js.html index 0e67e21a..60c98767 100644 --- a/doc/thermodynamicDiagram_TDDiagram.js.html +++ b/doc/thermodynamicDiagram_TDDiagram.js.html @@ -1278,7 +1278,7 @@

Source: thermodynamicDiagram/TDDiagram.js

diff --git a/doc/thermodynamicDiagram_WindbarbsProfile.js.html b/doc/thermodynamicDiagram_WindbarbsProfile.js.html index 83dfef60..fb5951ce 100644 --- a/doc/thermodynamicDiagram_WindbarbsProfile.js.html +++ b/doc/thermodynamicDiagram_WindbarbsProfile.js.html @@ -147,7 +147,7 @@

Source: thermodynamicDiagram/WindbarbsProfile.js

diff --git a/doc/thermodynamicDiagram_WindspeedProfile.js.html b/doc/thermodynamicDiagram_WindspeedProfile.js.html index dd20e81a..12d5928c 100644 --- a/doc/thermodynamicDiagram_WindspeedProfile.js.html +++ b/doc/thermodynamicDiagram_WindspeedProfile.js.html @@ -261,7 +261,7 @@

Source: thermodynamicDiagram/WindspeedProfile.js

diff --git a/doc/thermodynamicDiagram_axes_axisLabels.js.html b/doc/thermodynamicDiagram_axes_axisLabels.js.html index 6e783dbc..1f9f231c 100644 --- a/doc/thermodynamicDiagram_axes_axisLabels.js.html +++ b/doc/thermodynamicDiagram_axes_axisLabels.js.html @@ -49,7 +49,7 @@

Source: thermodynamicDiagram/axes/axisLabels.js

diff --git a/doc/thermodynamicDiagram_axes_xAxis.js.html b/doc/thermodynamicDiagram_axes_xAxis.js.html index d3ac4d53..f92991e8 100644 --- a/doc/thermodynamicDiagram_axes_xAxis.js.html +++ b/doc/thermodynamicDiagram_axes_xAxis.js.html @@ -100,7 +100,7 @@

Source: thermodynamicDiagram/axes/xAxis.js

diff --git a/doc/thermodynamicDiagram_axes_yAxis.js.html b/doc/thermodynamicDiagram_axes_yAxis.js.html index 3873ed9f..b8f7bf32 100644 --- a/doc/thermodynamicDiagram_axes_yAxis.js.html +++ b/doc/thermodynamicDiagram_axes_yAxis.js.html @@ -185,7 +185,7 @@

Source: thermodynamicDiagram/axes/yAxis.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html index e4aa53c1..121e179a 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html @@ -76,7 +76,7 @@

Source: thermodynamicDiagram/coordinateSystem/Emagram.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html index 5fd1f297..42060d5b 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html @@ -53,7 +53,7 @@

Source: thermodynamicDiagram/coordinateSystem/SkewTlogPDiagram.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html index ccbe5cf3..248739ad 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html @@ -120,7 +120,7 @@

Source: thermodynamicDiagram/coordinateSystem/StueveDiagram.js

diff --git a/doc/thermodynamicDiagram_plotArea.js.html b/doc/thermodynamicDiagram_plotArea.js.html index 94f53d4a..ef38326b 100644 --- a/doc/thermodynamicDiagram_plotArea.js.html +++ b/doc/thermodynamicDiagram_plotArea.js.html @@ -528,7 +528,7 @@

Source: thermodynamicDiagram/PlotArea.js

diff --git a/doc/thermodynamicDiagram_plotDataArea.js.html b/doc/thermodynamicDiagram_plotDataArea.js.html index dabc2c3b..d0adebab 100644 --- a/doc/thermodynamicDiagram_plotDataArea.js.html +++ b/doc/thermodynamicDiagram_plotDataArea.js.html @@ -494,7 +494,7 @@

Source: thermodynamicDiagram/PlotDataArea.js

diff --git a/doc/timeline_Animation.js.html b/doc/timeline_Animation.js.html index 0e589807..bd5c60be 100644 --- a/doc/timeline_Animation.js.html +++ b/doc/timeline_Animation.js.html @@ -602,7 +602,7 @@

Source: timeline/Animation.js

diff --git a/doc/timeline_NavigationButtons.js.html b/doc/timeline_NavigationButtons.js.html index 8627b0b2..753c8b68 100644 --- a/doc/timeline_NavigationButtons.js.html +++ b/doc/timeline_NavigationButtons.js.html @@ -210,7 +210,7 @@

Source: timeline/NavigationButtons.js

diff --git a/doc/timeline_Visualisation.js.html b/doc/timeline_Visualisation.js.html index bc8482f2..c888d124 100644 --- a/doc/timeline_Visualisation.js.html +++ b/doc/timeline_Visualisation.js.html @@ -340,7 +340,7 @@

Source: timeline/Visualisation.js

diff --git a/doc/timeline_animation_ToggleButton.js.html b/doc/timeline_animation_ToggleButton.js.html index c1d73f89..e03dae31 100644 --- a/doc/timeline_animation_ToggleButton.js.html +++ b/doc/timeline_animation_ToggleButton.js.html @@ -206,7 +206,7 @@

Source: timeline/animation/ToggleButton.js

diff --git a/doc/timeline_visualisation_Slider.js.html b/doc/timeline_visualisation_Slider.js.html index 6fa2bcec..4ddb23c1 100644 --- a/doc/timeline_visualisation_Slider.js.html +++ b/doc/timeline_visualisation_Slider.js.html @@ -122,7 +122,7 @@

Source: timeline/visualisation/Slider.js

diff --git a/doc/timeline_visualisation_Text.js.html b/doc/timeline_visualisation_Text.js.html index 0aff820b..41533d60 100644 --- a/doc/timeline_visualisation_Text.js.html +++ b/doc/timeline_visualisation_Text.js.html @@ -90,7 +90,7 @@

Source: timeline/visualisation/Text.js

diff --git a/doc/timeline_visualisation_bsButtons.js.html b/doc/timeline_visualisation_bsButtons.js.html index 34b661e3..591ce1d5 100644 --- a/doc/timeline_visualisation_bsButtons.js.html +++ b/doc/timeline_visualisation_bsButtons.js.html @@ -35,11 +35,21 @@

Source: timeline/visualisation/bsButtons.js

import $ from 'jquery'; import Visualisation from '../Visualisation.js'; +/** + * Dynamic format string to output the time for each Time-Button. + * + * @typedef {Function} module:meteoJS/timeline/visualisation/bsButtons~timeFormatFunction + * @param {Date} time - Timestamp of the Button. + * @returns {String} A string to format the time for the Time-Buttons. + */ + /** * Options for constructor. * * @typedef {module:meteoJS/timeline/visualisation~options} - module:meteoJS/timeline/visualisation/bsButtons~options + * module:meteoJS/timeline/visualisation/bsButtons~options + * @property {String|module:meteoJS/timeline/visualisation/bsButtons~timeFormatFunction} [format='HH'] + * Format-String for the time of the Time-Buttons. */ /** @@ -163,14 +173,20 @@

Source: timeline/visualisation/bsButtons.js

var btn = $('&lt;button>') .addClass(this.options.classButton) .attr('type', 'button') - .text(this.timeToText(time, this.options.format)) .data('time', time.valueOf()); + if (typeof this.options.format == 'function') + btn.text(this.timeToText(time, this.options.format.call(this, time))); + else + btn.text(this.timeToText(time, this.options.format)); if (this.options.timeline.isTimeAllEnabled(time)) btn.addClass(this.options.classButtonAllEnabled); else if (this.options.timeline.isTimeEnabled(time)) btn.addClass(this.options.classButtonEnabled); else btn.addClass(this.options.classButtonNotEnabled); + let selectedTime = this.options.timeline.getSelectedTime(); + if (time.valueOf() == selectedTime.valueOf()) + btn.addClass(this.options.classButtonActive); var that = this; btn.click(function () { that.options.timeline.setSelectedTime(new Date(+$(this).data('time'))); @@ -214,7 +230,7 @@

Source: timeline/visualisation/bsButtons.js

diff --git a/doc/timeline_visualisation_bsDropdown.js.html b/doc/timeline_visualisation_bsDropdown.js.html index 53cad089..a3779f19 100644 --- a/doc/timeline_visualisation_bsDropdown.js.html +++ b/doc/timeline_visualisation_bsDropdown.js.html @@ -284,7 +284,7 @@

Source: timeline/visualisation/bsDropdown.js

diff --git a/doc/tooltip_BootstrapTooltip.js.html b/doc/tooltip_BootstrapTooltip.js.html index 798e6d39..0d5579b0 100644 --- a/doc/tooltip_BootstrapTooltip.js.html +++ b/doc/tooltip_BootstrapTooltip.js.html @@ -226,7 +226,7 @@

Source: tooltip/BootstrapTooltip.js

diff --git a/package.json b/package.json index cee6c5cf..b7ac0931 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meteojs", - "version": "1.11.4", + "version": "1.12.0", "description": "library for meteorological and atmospheric science tools", "keywords": [ "meteorology",