Merge remote-tracking branch 'upstream/pull/5565'
This commit is contained in:
commit
ea8e6a92c1
1 changed files with 2 additions and 11 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue