Module type for ol.LayerType
This commit is contained in:
@@ -53,7 +53,7 @@ const BaseLayer = function(options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The layer type.
|
* The layer type.
|
||||||
* @type {ol.LayerType}
|
* @type {module:ol/LayerType~LayerType}
|
||||||
* @protected;
|
* @protected;
|
||||||
*/
|
*/
|
||||||
this.type;
|
this.type;
|
||||||
@@ -65,7 +65,7 @@ inherits(BaseLayer, BaseObject);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the layer type (used when creating a layer renderer).
|
* 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() {
|
BaseLayer.prototype.getType = function() {
|
||||||
return this.type;
|
return this.type;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const ImageLayer = function(opt_options) {
|
|||||||
/**
|
/**
|
||||||
* The layer type.
|
* The layer type.
|
||||||
* @protected
|
* @protected
|
||||||
* @type {ol.LayerType}
|
* @type {module:ol/LayerType~LayerType}
|
||||||
*/
|
*/
|
||||||
this.type = LayerType.IMAGE;
|
this.type = LayerType.IMAGE;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ const TileLayer = function(opt_options) {
|
|||||||
/**
|
/**
|
||||||
* The layer type.
|
* The layer type.
|
||||||
* @protected
|
* @protected
|
||||||
* @type {ol.LayerType}
|
* @type {module:ol/LayerType~LayerType}
|
||||||
*/
|
*/
|
||||||
this.type = LayerType.TILE;
|
this.type = LayerType.TILE;
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ const VectorLayer = function(opt_options) {
|
|||||||
/**
|
/**
|
||||||
* The layer type.
|
* The layer type.
|
||||||
* @protected
|
* @protected
|
||||||
* @type {ol.LayerType}
|
* @type {module:ol/LayerType~LayerType}
|
||||||
*/
|
*/
|
||||||
this.type = LayerType.VECTOR;
|
this.type = LayerType.VECTOR;
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const VectorTileLayer = function(opt_options) {
|
|||||||
/**
|
/**
|
||||||
* The layer type.
|
* The layer type.
|
||||||
* @protected
|
* @protected
|
||||||
* @type {ol.LayerType}
|
* @type {module:ol/LayerType~LayerType}
|
||||||
*/
|
*/
|
||||||
this.type = LayerType.VECTOR_TILE;
|
this.type = LayerType.VECTOR_TILE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user