Increase the limit when a warning about a large number of objects is displayed.

This commit is contained in:
Roman Deev 2025-01-27 19:39:34 +03:00
parent c7adb870ad
commit c4eda60e38

View file

@ -80,10 +80,10 @@ OSM.initializeDataLayer = function (map) {
/* /*
* Modern browsers are quite happy showing far more than 100 features in * 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. * it restricted to 500 for IE8 and 100 for older IEs.
*/ */
var maxFeatures = 2000; var maxFeatures = 4000;
/*@cc_on /*@cc_on
if (navigator.appVersion < 8) { if (navigator.appVersion < 8) {