Select interaction options are now optional

This commit is contained in:
Antoine Abt
2014-03-28 11:37:46 +01:00
parent 5cc1a986c2
commit 7122906214
2 changed files with 5 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ var vector = new ol.layer.Vector({
})
});
var select = new ol.interaction.Select({});
var select = new ol.interaction.Select();
var map = new ol.Map({
interactions: ol.interaction.defaults().extend([select]),