From: Roman Deev Date: Mon, 27 Jan 2025 16:39:34 +0000 (+0300) Subject: Increase the limit when a warning about a large number of objects is displayed. X-Git-Tag: live~238^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c4eda60e388c9d47d813ca2d5e84ee8380a283f2?ds=inline;hp=-c Increase the limit when a warning about a large number of objects is displayed. --- c4eda60e388c9d47d813ca2d5e84ee8380a283f2 diff --git a/app/assets/javascripts/index/layers/data.js b/app/assets/javascripts/index/layers/data.js index c69959467..8d3779043 100644 --- a/app/assets/javascripts/index/layers/data.js +++ b/app/assets/javascripts/index/layers/data.js @@ -80,10 +80,10 @@ OSM.initializeDataLayer = function (map) { /* * Modern browsers are quite happy showing far more than 100 features in - * the data browser, so increase the limit to 2000 by default, but keep + * the data browser, so increase the limit to 4000 by default, but keep * it restricted to 500 for IE8 and 100 for older IEs. */ - var maxFeatures = 2000; + var maxFeatures = 4000; /*@cc_on if (navigator.appVersion < 8) {