# HG changeset patch # User Sebastien Jodogne # Date 1788528590 -7200 # Node ID 0b45bebe79267ccf49b13e45d50dc8a4482c49dc # Parent 4e722446aca7235088e9c3ddded857129d6c7b62 fill selected annotation diff -r 4e722446aca7 -r 0b45bebe7926 ViewerPlugin/WebApplication/viewer.js --- a/ViewerPlugin/WebApplication/viewer.js Fri Sep 04 15:26:17 2026 +0200 +++ b/ViewerPlugin/WebApplication/viewer.js Fri Sep 04 15:29:50 2026 +0200 @@ -978,13 +978,7 @@ return ol.events.condition.singleClick(e) && app.activeDrawTool === 'select'; }, hitTolerance: 5, /* pixels around the feature that count as a hit */ - style: new ol.style.Style({ - stroke: new ol.style.Stroke({ color: 'blue', width: 3 }), - image: new ol.style.Circle({ - radius: 5, - fill: new ol.style.Fill({ color: 'blue' }) - }) - }) + style: CreateLayerStyle('#0000ff') /* selected annotation is in blue */ });