Move ol.replay into ol.render namespace

This commit is contained in:
Tom Payne
2013-11-10 12:15:09 +01:00
parent 65fffd9b1c
commit 4183d9cdb8
5 changed files with 121 additions and 120 deletions

View File

@@ -3,9 +3,9 @@ goog.provide('ol.renderer.canvas.VectorLayer');
goog.require('goog.vec.Mat4');
goog.require('ol.ViewHint');
goog.require('ol.extent');
goog.require('ol.render.canvas.BatchGroup');
goog.require('ol.renderer.canvas.Layer');
goog.require('ol.renderer.vector');
goog.require('ol.replay.canvas.BatchGroup');
goog.require('ol.style.DefaultStyleFunction');
@@ -46,7 +46,7 @@ ol.renderer.canvas.VectorLayer = function(mapRenderer, vectorLayer) {
/**
* @private
* @type {ol.replay.canvas.BatchGroup}
* @type {ol.render.canvas.BatchGroup}
*/
this.batchGroup_ = null;
@@ -137,7 +137,7 @@ ol.renderer.canvas.VectorLayer.prototype.prepareFrame =
if (!goog.isDef(styleFunction)) {
styleFunction = ol.style.DefaultStyleFunction;
}
var batchGroup = new ol.replay.canvas.BatchGroup();
var batchGroup = new ol.render.canvas.BatchGroup();
vectorSource.forEachFeatureInExtent(extent, function(feature) {
var style = styleFunction(feature);
ol.renderer.vector.renderFeature(batchGroup, feature, style);