Merge pull request #5257 from bjornharrtell/mvt-api
Add readFeatures and readProjection as MVT experimental API
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user