Updated sketch style

This commit is contained in:
Tim Schaub
2013-10-31 09:51:10 -06:00
parent 7c197252ed
commit 048dec1644
3 changed files with 14 additions and 18 deletions

View File

@@ -213,7 +213,7 @@ ol.interaction.Draw.prototype.startDrawing_ = function(event) {
var sketchPoint = new ol.Feature({
geom: new ol.geom.Point(start.slice())
});
sketchPoint.setRenderIntent(ol.layer.VectorLayerRenderIntent.FUTURE);
sketchPoint.setRenderIntent(ol.layer.VectorLayerRenderIntent.TEMPORARY);
this.sketchPoint_ = sketchPoint;
features.push(sketchPoint);