Skip to content

Commit

Permalink
docs: update measure example to turf v7 (#4907)
Browse files Browse the repository at this point in the history
* Update measure.html to use turf v7

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Harel M <[email protected]>
  • Loading branch information
twelch and HarelM authored Oct 27, 2024
1 parent 3346fbd commit 95cfbdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/examples/measure.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div id="map"></div>
<div id="distance" class="distance-container"></div>

<script src="https://npmcdn.com/@turf/turf@5.1.6/turf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@7/turf.min.js"></script>
<script>
const map = new maplibregl.Map({
container: 'map',
Expand Down Expand Up @@ -161,4 +161,4 @@
});
</script>
</body>
</html>
</html>

0 comments on commit 95cfbdb

Please sign in to comment.