From fda87833bac224504252f9bda6b3304b691ad5ab Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 28 Jan 2025 07:52:22 +0300 Subject: [PATCH] Remove IE conditional compilation that limited max features --- app/assets/javascripts/index/layers/data.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/index/layers/data.js b/app/assets/javascripts/index/layers/data.js index b972adbc2..812c35be9 100644 --- a/app/assets/javascripts/index/layers/data.js +++ b/app/assets/javascripts/index/layers/data.js @@ -85,18 +85,9 @@ OSM.initializeDataLayer = function (map) { /* * Modern browsers are quite happy showing far more than 100 features in - * the data browser, so increase the limit to 4000 by default, but keep - * it restricted to 500 for IE8 and 100 for older IEs. + * the data browser, so increase the limit to 4000 by default. */ - var maxFeatures = 4000; - - /*@cc_on - if (navigator.appVersion < 8) { - maxFeatures = 100; - } else if (navigator.appVersion < 9) { - maxFeatures = 500; - } - @*/ + const maxFeatures = 4000; if (dataLoader) dataLoader.abort(); -- 2.39.5