X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/456d41e1897144d092f2d9a5597a6e00167bb99c..d0ed118ee24401a7e6117efa74522e67a9babba6:/app/assets/javascripts/index/browse.js?ds=inline diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js index dcea8e0c0..8681d8f56 100644 --- a/app/assets/javascripts/index/browse.js +++ b/app/assets/javascripts/index/browse.js @@ -36,7 +36,7 @@ $(document).ready(function () { }); 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) { @@ -151,7 +151,7 @@ $(document).ready(function () { 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