- $("#browse_content").empty();
- dataLayer.clearLayers();
- selectedLayer = null;
-
- var url = "/api/" + OSM.API_VERSION + "/map?bbox=" + browseBounds.toBBOX();
-
- /*
- * 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
- * it restricted to 500 for IE8 and 100 for older IEs.
- */
- var maxFeatures = 2000;
-
- /*@cc_on
- if (navigator.appVersion < 8) {
- maxFeatures = 100;
- } else if (navigator.appVersion < 9) {
- maxFeatures = 500;
- }
- @*/