Skip to content

Commit

Permalink
Moved time property from WmsTimeDimensionedLayer to Layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
tag3 committed Nov 11, 2015
1 parent ea653cc commit a20ae1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions src/layer/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ define([
* @readonly
*/
this.inCurrentFrame = false;

/**
* The time to display. This property selects the layer contents that represents the specified time.
* If null, layer-type dependent contents are displayed.
* @type {Date}
*/
this.time = null;
};

/**
Expand Down
7 changes: 0 additions & 7 deletions src/layer/WmsTimeDimensionedLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ define([
*/
this.config = config;

/**
* The time to display. This property selects the sub-layer that represents the specified time.
* If null, no sub-layer is displayed.
* @type {Date}
*/
this.time = null;

// Intentionally not documented.
this.displayName = config.title;
this.pickEnabled = false;
Expand Down

0 comments on commit a20ae1a

Please sign in to comment.