diff --git a/examples/jsts.html b/examples/jsts.html index 346ed2d9d8..5669c27f73 100644 --- a/examples/jsts.html +++ b/examples/jsts.html @@ -7,7 +7,6 @@ docs: > with OpenLayers 3. tags: "vector, jsts, buffer" resources: - - https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/lib/0.17.0/javascript.util.min.js - - https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/lib/0.17.0/jsts.min.js + - https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/1.0.1/jsts.min.js ---
diff --git a/examples/jsts.js b/examples/jsts.js index 1c8e37e5f2..68c012ccfa 100644 --- a/examples/jsts.js +++ b/examples/jsts.js @@ -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];