Thicker strokes make it easier to select line segments
This commit is contained in:
@@ -7,10 +7,12 @@ function init() {
|
|||||||
pointRadius: 16
|
pointRadius: 16
|
||||||
}, OpenLayers.Feature.Vector.style.temporary),
|
}, OpenLayers.Feature.Vector.style.temporary),
|
||||||
'default': OpenLayers.Util.applyDefaults({
|
'default': OpenLayers.Util.applyDefaults({
|
||||||
pointRadius: 16
|
pointRadius: 16,
|
||||||
|
strokeWidth: 3,
|
||||||
}, OpenLayers.Feature.Vector.style['default']),
|
}, OpenLayers.Feature.Vector.style['default']),
|
||||||
select: OpenLayers.Util.applyDefaults({
|
select: OpenLayers.Util.applyDefaults({
|
||||||
pointRadius: 16
|
pointRadius: 16,
|
||||||
|
strokeWidth: 3
|
||||||
}, OpenLayers.Feature.Vector.style.select)
|
}, OpenLayers.Feature.Vector.style.select)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user