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);

View File

@@ -7,5 +7,6 @@ goog.provide('ol.layer.VectorLayerRenderIntent');
ol.layer.VectorLayerRenderIntent = {
DEFAULT: 'default',
HIDDEN: 'hidden',
SELECTED: 'selected'
SELECTED: 'selected',
TEMPORARY: 'temporary'
};