From 94debcfc3ae164d35861bd9a9c417407340260bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Harrtell?= Date: Sat, 27 Feb 2016 09:08:17 +0100 Subject: [PATCH] Upgrade JSTS in example --- examples/jsts.html | 3 +-- examples/jsts.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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];