Increase the limit when a warning about a large number of objects is displayed.
This commit is contained in:
parent
c7adb870ad
commit
c4eda60e38
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue