Add readFeatures and readProjection as MVT experimental API

This commit is contained in:
Björn Harrtell
2016-04-21 14:16:06 +02:00
parent 18a29ea6d3
commit c40993d0d3
+2
View File
@@ -147,6 +147,7 @@ ol.format.MVT.prototype.readRenderFeature_ = function(rawFeature, layer) {
/** /**
* @inheritDoc * @inheritDoc
* @api
*/ */
ol.format.MVT.prototype.readFeatures = function(source, opt_options) { ol.format.MVT.prototype.readFeatures = function(source, opt_options) {
goog.asserts.assertInstanceof(source, ArrayBuffer); goog.asserts.assertInstanceof(source, ArrayBuffer);
@@ -180,6 +181,7 @@ ol.format.MVT.prototype.readFeatures = function(source, opt_options) {
/** /**
* @inheritDoc * @inheritDoc
* @api
*/ */
ol.format.MVT.prototype.readProjection = function(source) { ol.format.MVT.prototype.readProjection = function(source) {
return this.defaultDataProjection; return this.defaultDataProjection;