From c376101a778f4c933aea858e313e26a6d3f7f788 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 19 Apr 2017 17:01:07 +0200 Subject: index.html: Project output coordinates in EPSG:4326 (WSG84) --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7060c4d..594159e 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,10 @@ select_click.on('select', function(e) { if (e.selected.length) { var feature = e.selected[0]; - output_el.textContent = format.writeFeature(feature); + output_el.textContent = format.writeFeature(feature, { + dataProjection: 'EPSG:4326', + featureProjection: 'EPSG:3857' + }); } }); -- cgit v1.2.3