Always toggle selection
This commit is contained in:
@@ -32,6 +32,7 @@ var vector = new ol.layer.Vector({
|
|||||||
|
|
||||||
var select = new ol.interaction.Select({
|
var select = new ol.interaction.Select({
|
||||||
addCondition: ol.events.condition.shiftKeyOnly,
|
addCondition: ol.events.condition.shiftKeyOnly,
|
||||||
|
toggleCondition: ol.events.condition.always,
|
||||||
style: new ol.style.Style({
|
style: new ol.style.Style({
|
||||||
stroke: new ol.style.Stroke({
|
stroke: new ol.style.Stroke({
|
||||||
color: '#3399CC',
|
color: '#3399CC',
|
||||||
|
|||||||
Reference in New Issue
Block a user