X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ded28617c73090028c416e46ade69f7584536548..c30f20122d1f2f0f49240aae17d1233dd745e1e5:/app/assets/javascripts/index/export.js diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index 1f624f125..417dfabd3 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -203,7 +203,7 @@ function initializeExport(map) { var zoom = map.getBoundsZoom(bounds); - var layers = getMapLayers(map); + var layers = map.getLayersCode(); var text = I18n.t('export.start_rjs.view_larger_map'); var escaped = [];