Use triangles to draw points with WebGL

This commit is contained in:
Éric Lemoine
2014-10-23 15:29:28 +02:00
parent 9f108391ae
commit c8225e49b1
4 changed files with 105 additions and 37 deletions

View File

@@ -114,6 +114,7 @@ ol.renderer.webgl.VectorLayer.prototype.composeFrame =
if (!goog.isNull(replayGroup) && !replayGroup.isEmpty()) {
replayGroup.replay(context,
this.locations_.a_position,
this.locations_.a_offsets,
this.locations_.u_projectionMatrix,
frameState.extent, frameState.pixelRatio,
this.projectionMatrix,