Upgrade JSTS in example

This commit is contained in:
Björn Harrtell
2016-02-27 09:08:17 +01:00
parent c5d3dfd41c
commit 94debcfc3a
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ fetch('data/geojson/roads-seoul.geojson').then(function(response) {
var format = new ol.format.GeoJSON();
var features = format.readFeatures(json, {featureProjection: 'EPSG:3857'});
var parser = new jsts.io.olParser();
var parser = new jsts.io.OL3Parser();
for (var i = 0; i < features.length; i++) {
var feature = features[i];