The iRender draw functions are passed a data object

This commit is contained in:
Éric Lemoine
2013-12-02 12:43:58 +01:00
parent 2c40daea22
commit e358321b92
6 changed files with 51 additions and 37 deletions

View File

@@ -45,7 +45,7 @@ map.on('postcompose', function(event) {
coordinates.push([x, y]);
}
render.setImageStyle(imageStyle);
render.drawMultiPointGeometry(new ol.geom.MultiPoint(coordinates));
render.drawMultiPointGeometry(new ol.geom.MultiPoint(coordinates), null);
map.requestRenderFrame();
});
map.requestRenderFrame();