diff --git a/js/control/Download.js b/js/control/Download.js index c583dc8..0cdb267 100644 --- a/js/control/Download.js +++ b/js/control/Download.js @@ -12,7 +12,8 @@ BR.Download = BR.Control.extend({ var html = '
 
'; if (urls.gpx) { html += 'GPX · '; - html += 'KML'; + html += 'KML · '; + html += 'CSV'; } html += '
' this._content.innerHTML = html; diff --git a/js/index.js b/js/index.js index a20f98d..a1fde29 100644 --- a/js/index.js +++ b/js/index.js @@ -139,6 +139,7 @@ if (latLngs.length > 1) { urls.gpx = router.getUrl(latLngs, 'gpx'); urls.kml = router.getUrl(latLngs, 'kml'); + urls.csv = router.getUrl(latLngs, 'csv'); } download.update(urls);