Module type for ol.LayerType

This commit is contained in:
Frederic Junod
2018-03-19 10:54:01 +01:00
parent 0477f6cfdf
commit a6a8da2d23
5 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ const BaseLayer = function(options) {
/**
* The layer type.
* @type {ol.LayerType}
* @type {module:ol/LayerType~LayerType}
* @protected;
*/
this.type;
@@ -65,7 +65,7 @@ inherits(BaseLayer, BaseObject);
/**
* Get the layer type (used when creating a layer renderer).
* @return {ol.LayerType} The layer type.
* @return {module:ol/LayerType~LayerType} The layer type.
*/
BaseLayer.prototype.getType = function() {
return this.type;

View File

@@ -26,7 +26,7 @@ const ImageLayer = function(opt_options) {
/**
* The layer type.
* @protected
* @type {ol.LayerType}
* @type {module:ol/LayerType~LayerType}
*/
this.type = LayerType.IMAGE;

View File

@@ -37,7 +37,7 @@ const TileLayer = function(opt_options) {
/**
* The layer type.
* @protected
* @type {ol.LayerType}
* @type {module:ol/LayerType~LayerType}
*/
this.type = LayerType.TILE;

View File

@@ -95,7 +95,7 @@ const VectorLayer = function(opt_options) {
/**
* The layer type.
* @protected
* @type {ol.LayerType}
* @type {module:ol/LayerType~LayerType}
*/
this.type = LayerType.VECTOR;

View File

@@ -48,7 +48,7 @@ const VectorTileLayer = function(opt_options) {
/**
* The layer type.
* @protected
* @type {ol.LayerType}
* @type {module:ol/LayerType~LayerType}
*/
this.type = LayerType.VECTOR_TILE;