From fecb2dabe6718ffc0faad5484f31cf1b98335fc5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 18 Jan 2024 16:16:52 +0100 Subject: Power stations: Improve style. --- main.js | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index 3e9cdb4..e288d28 100644 --- a/main.js +++ b/main.js @@ -468,7 +468,7 @@ const styles = { }); })), 'svk_stations': - [5, 6, 8, 8, 10].map(function(radius) { + [5, 6, 8, 8, 10, 12, 12].map(function(radius) { return new Style({ zIndex: 0, image: new RegularShape({ @@ -481,24 +481,7 @@ const styles = { }), }); }) - .concat([12, 15].map(function(radius) { - return new Style({ - zIndex: 0, - image: new RegularShape({ - radius: radius, - points: 4, - angle: Math.PI/4, - fill: new Fill({ - color: 'rgba(128, 128, 128, .85)', - }), - stroke: new Stroke({ - width: 1, - color: 'rgb(0, 0, 0)', - }), - }), - }); - })) - .concat([1, 1.5, 1.5, 2, 2].map(function(width) { + .concat([.5, 1, 1.5, 2, 2].map(function(width) { return new Style({ zIndex: 0, fill: new Fill({ -- cgit v1.2.3