aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
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'
+ });
}
});