Webgl immediate implementation for points

Internally uses a replay group to share code.

Modifies the dynamic data example to use PointGeometry
and Feature in addition to MultiPoint.
This commit is contained in:
Guillaume Beraudo
2014-11-17 15:15:42 +01:00
parent 9681ec3e10
commit 20ceae2655
5 changed files with 219 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ goog.provide('ol.render.IVectorContext');
/**
* VectorContext interface. Currently implemented by
* {@link ol.render.canvas.Immediate}
* {@link ol.render.canvas.Immediate} and {@link ol.render.webgl.Immediate}
* @interface
*/
ol.render.IVectorContext = function() {
@@ -15,7 +15,7 @@ ol.render.IVectorContext = function() {
/**
* @param {number} zIndex Z index.
* @param {function(ol.render.canvas.Immediate)} callback Callback.
* @param {function(ol.render.IVectorContext)} callback Callback.
*/
ol.render.IVectorContext.prototype.drawAsync = function(zIndex, callback) {
};