Add support for OSM vector tiles

This commit is contained in:
Andreas Hocevar
2015-12-04 16:46:44 +01:00
parent 952a282756
commit a940cdd6a7
10 changed files with 229 additions and 17 deletions

View File

@@ -41,7 +41,6 @@ describe('ol.renderer.canvas.VectorTileLayer', function() {
ol.VectorTile.apply(this, arguments);
this.setState('loaded');
this.setFeatures([feature1, feature2]);
this.setProjection(ol.proj.get('EPSG:3857'));
};
ol.inherits(TileClass, ol.VectorTile);
var source = new ol.source.VectorTile({