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