]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Adding a little more max width for buttons
[rails.git] / app / assets / javascripts / index / export.js
index 1f624f125f60c5a61471c6d59a8fe2b03a453a30..417dfabd35be892cdf5e9ad391083d30c35de215 100644 (file)
@@ -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 = [];