});
if (OSM.STATUS != 'api_offline' && OSM.STATUS != 'database_offline') {
- map.layersControl.addOverlay(dataLayer, I18n.t("browse.start_rjs.data_layer_name"));
+// map.layersControl.addOverlay(dataLayer, I18n.t("browse.start_rjs.data_layer_name"));
}
map.on('layeradd', function (e) {
setStatus(I18n.t('browse.start_rjs.loading'));
- var url = "/api/" + OSM.API_VERSION + "/map?bbox=" + bounds.toBBOX();
+ var url = "/api/" + OSM.API_VERSION + "/map?bbox=" + bounds.toBBoxString();
/*
* Modern browsers are quite happy showing far more than 100 features in