Uppercase for PBF constructor

This commit is contained in:
Tim Schaub
2017-05-02 09:56:34 -06:00
parent 642ed5f46e
commit 584d4f67bd
3 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
goog.provide('ol.format.MVT');
goog.require('ol');
goog.require('ol.ext.pbf');
goog.require('ol.ext.PBF');
goog.require('ol.ext.vectortile');
goog.require('ol.format.Feature');
goog.require('ol.format.FormatType');
@@ -149,7 +149,7 @@ ol.format.MVT.prototype.readRenderFeature_ = function(rawFeature, layer) {
ol.format.MVT.prototype.readFeatures = function(source, opt_options) {
var layers = this.layers_;
var pbf = new ol.ext.pbf(/** @type {ArrayBuffer} */ (source));
var pbf = new ol.ext.PBF(/** @type {ArrayBuffer} */ (source));
var tile = new ol.ext.vectortile.VectorTile(pbf);
var features = [];
var featureClass = this.featureClass_;