diff --git a/js/control/Download.js b/js/control/Download.js
index 0cdb267..5a04707 100644
--- a/js/control/Download.js
+++ b/js/control/Download.js
@@ -9,10 +9,11 @@ BR.Download = BR.Control.extend({
},
update: function (urls) {
- var html = '
';
+ var html = '
';
if (urls.gpx) {
html += '
GPX · ';
html += '
KML · ';
+ html += '
GeoJSON · ';
html += '
CSV';
}
html += '
'
diff --git a/js/index.js b/js/index.js
index 5fa9eb0..3d8aa7f 100644
--- a/js/index.js
+++ b/js/index.js
@@ -179,6 +179,7 @@
if (latLngs.length > 1) {
urls.gpx = router.getUrl(latLngs, 'gpx');
urls.kml = router.getUrl(latLngs, 'kml');
+ urls.geojson = router.getUrl(latLngs, 'geojson');
urls.csv = router.getUrl(latLngs, 'csv');
}