Restore ol.interaction.Select options

This commit is contained in:
Tom Payne
2014-03-27 19:46:52 +01:00
parent 0ec6bc6325
commit 15efba8a23
2 changed files with 49 additions and 79 deletions

View File

@@ -1,7 +1,6 @@
goog.require('ol.Collection');
goog.require('ol.Map');
goog.require('ol.View2D');
goog.require('ol.events.condition');
goog.require('ol.interaction');
goog.require('ol.interaction.Modify');
goog.require('ol.interaction.Select');
@@ -31,8 +30,6 @@ var vector = new ol.layer.Vector({
});
var select = new ol.interaction.Select({
addCondition: ol.events.condition.shiftKeyOnly,
toggleCondition: ol.events.condition.always,
style: new ol.style.Style({
stroke: new ol.style.Stroke({
color: '#3399CC',