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

@@ -1,7 +1,7 @@
goog.provide('ol.test.format.MVT');
goog.require('ol.Feature');
goog.require('ol.ext.pbf');
goog.require('ol.ext.PBF');
goog.require('ol.ext.vectortile');
goog.require('ol.format.MVT');
goog.require('ol.geom.Point');
@@ -40,7 +40,7 @@ where('ArrayBuffer.isView').describe('ol.format.MVT', function() {
featureClass: ol.Feature,
layers: ['poi_label']
});
var pbf = new ol.ext.pbf(data);
var pbf = new ol.ext.PBF(data);
var tile = new ol.ext.vectortile.VectorTile(pbf);
var geometry, rawGeometry;