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

View File

@@ -147,6 +147,7 @@ ol.format.MVT.prototype.readRenderFeature_ = function(rawFeature, layer) {
/**
* @inheritDoc
* @api
*/
ol.format.MVT.prototype.readFeatures = function(source, opt_options) {
goog.asserts.assertInstanceof(source, ArrayBuffer);
@@ -180,6 +181,7 @@ ol.format.MVT.prototype.readFeatures = function(source, opt_options) {
/**
* @inheritDoc
* @api
*/
ol.format.MVT.prototype.readProjection = function(source) {
return this.defaultDataProjection;