Add missing setProjection function to ol.VectorTile API

This commit is contained in:
Andreas Hocevar
2016-03-10 19:50:30 +01:00
parent fb6cd4f586
commit 3164dc874e
2 changed files with 10 additions and 4 deletions

View File

@@ -170,7 +170,9 @@ ol.VectorTile.prototype.setFeatures = function(features) {
/**
* Set the projection of the features that were added with {@link #setFeatures}.
* @param {ol.proj.Projection} projection Feature projection.
* @api
*/
ol.VectorTile.prototype.setProjection = function(projection) {
this.projection_ = projection;