Make ol.VectorTile#getFeatures and #getProjection exportable
This commit is contained in:
@@ -77,7 +77,10 @@ ol.VectorTile.prototype.getFormat = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* Get the features for this tile. Geometries will be in the projection returned
|
||||
* by {@link #getProjection}.
|
||||
* @return {Array.<ol.Feature|ol.render.Feature>} Features.
|
||||
* @api
|
||||
*/
|
||||
ol.VectorTile.prototype.getFeatures = function() {
|
||||
return this.features_;
|
||||
@@ -93,7 +96,9 @@ ol.VectorTile.prototype.getKey = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the feature projection of features returned by {@link #getFeatures}.
|
||||
* @return {ol.proj.Projection} Feature projection.
|
||||
* @api
|
||||
*/
|
||||
ol.VectorTile.prototype.getProjection = function() {
|
||||
return this.projection_;
|
||||
|
||||
Reference in New Issue
Block a user