Added some api annotations required for accessing layer properties

This commit is contained in:
Petr Sloup
2014-08-11 06:57:16 -04:00
parent c7bf94e69b
commit 0ac90e62b9
2 changed files with 4 additions and 0 deletions

View File

@@ -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_;