Module type for ol.LayerType
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user