aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTeddy Wing2017-04-19 17:01:07 +0200
committerTeddy Wing2017-04-19 17:01:07 +0200
commitc376101a778f4c933aea858e313e26a6d3f7f788 (patch)
tree5825502a1079f428a6ff873d4b71cebf09663ff1 /index.html
parent061c92ef8839a98e10e5e731e5c2b35340400ee3 (diff)
downloadgeo-feature-examiner-c376101a778f4c933aea858e313e26a6d3f7f788.tar.bz2
index.html: Project output coordinates in EPSG:4326 (WSG84)
Diffstat (limited to 'index.html')
-rw-r--r--index.html5
1 files changed, 4 insertions, 1 deletions
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'
+ });
}
});