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:
@@ -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) {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user