diff options
author | Teddy Wing | 2017-04-19 17:01:07 +0200 |
---|---|---|
committer | Teddy Wing | 2017-04-19 17:01:07 +0200 |
commit | c376101a778f4c933aea858e313e26a6d3f7f788 (patch) | |
tree | 5825502a1079f428a6ff873d4b71cebf09663ff1 /index.html | |
parent | 061c92ef8839a98e10e5e731e5c2b35340400ee3 (diff) | |
download | geo-feature-examiner-c376101a778f4c933aea858e313e26a6d3f7f788.tar.bz2 |
index.html: Project output coordinates in EPSG:4326 (WSG84)
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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' + }); } }); |