Added some api annotations required for accessing layer properties
This commit is contained in:
@@ -91,6 +91,7 @@ ol.source.Source.prototype.forEachFeatureAtPixel =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {Array.<ol.Attribution>} Attributions.
|
* @return {Array.<ol.Attribution>} Attributions.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.Source.prototype.getAttributions = function() {
|
ol.source.Source.prototype.getAttributions = function() {
|
||||||
return this.attributions_;
|
return this.attributions_;
|
||||||
@@ -99,6 +100,7 @@ ol.source.Source.prototype.getAttributions = function() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {string|olx.LogoOptions|undefined} Logo.
|
* @return {string|olx.LogoOptions|undefined} Logo.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.Source.prototype.getLogo = function() {
|
ol.source.Source.prototype.getLogo = function() {
|
||||||
return this.logo_;
|
return this.logo_;
|
||||||
@@ -107,6 +109,7 @@ ol.source.Source.prototype.getLogo = function() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.proj.Projection} Projection.
|
* @return {ol.proj.Projection} Projection.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.Source.prototype.getProjection = function() {
|
ol.source.Source.prototype.getProjection = function() {
|
||||||
return this.projection_;
|
return this.projection_;
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ ol.tilegrid.TileGrid.prototype.forEachTileCoordParentTileRange =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {number} Max zoom.
|
* @return {number} Max zoom.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.tilegrid.TileGrid.prototype.getMaxZoom = function() {
|
ol.tilegrid.TileGrid.prototype.getMaxZoom = function() {
|
||||||
return this.maxZoom;
|
return this.maxZoom;
|
||||||
|
|||||||
Reference in New Issue
Block a user