Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
fix erreur js page report
Browse files Browse the repository at this point in the history
  • Loading branch information
ocruze committed Nov 8, 2022
1 parent bd56cb2 commit c48aa86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/js/pages/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ $(function () {

var extent = $('#extent-map').data('extent');

if (!extent) {
return;
}

var features = new GeoJSON({
dataProjection: 'EPSG:4326',
featureProjection: 'EPSG:3857'
Expand All @@ -27,4 +31,4 @@ $(function () {
viewer.getView().fit(vectorSource.getExtent());
})

})
})

0 comments on commit c48aa86

Please sign in to comment.