Fix return type annotation of ol.layer.VectorTile.getSource

This commit is contained in:
Aleš Jiránek
2017-08-04 12:00:40 +02:00
parent 25b851e7cb
commit e52ca96dc3

View File

@@ -116,3 +116,12 @@ ol.layer.VectorTile.prototype.setUseInterimTilesOnError = function(useInterimTil
this.set(
ol.layer.TileProperty.USE_INTERIM_TILES_ON_ERROR, useInterimTilesOnError);
};
/**
* Return the associated {@link ol.source.VectorTile vectortilesource} of the layer.
* @function
* @return {ol.source.VectorTile} Source.
* @api
*/
ol.layer.VectorTile.prototype.getSource;