Skip to content

Commit

Permalink
ran format
Browse files Browse the repository at this point in the history
  • Loading branch information
gautegf committed Oct 6, 2025
1 parent 5fb1a1f commit f04fabb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.7.6/proj4.js"></script>
<script src="/libs/Cesium/Cesium.js"></script>


<div
class="potree_container"
style="
Expand All @@ -71,7 +70,7 @@
>
<div id="potree_render_area">
<div id="cesiumContainer"></div>
<div id ="canvasContainer">
<div id="canvasContainer">
<canvas id="elevationCanvas" width="200" height="30"></canvas>
<canvas id="posCanvas" width="200" height="30"></canvas>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export const POTREE_SETTINGS = {
}

export const ecef = '+proj=geocent +datum=WGS84 +units=m +no_defs' // EPSG:4978 (geocentric coordinates)
export const wgs84 = '+proj=longlat +datum=WGS84 +no_defs' // EPSG:4326 (geographic coordinates)
export const wgs84 = '+proj=longlat +datum=WGS84 +no_defs' // EPSG:4326 (geographic coordinates)
1 change: 0 additions & 1 deletion src/coordinateShowing/coordinateShowing.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
margin-bottom: 10px;
border-radius: 5px;
}

4 changes: 2 additions & 2 deletions src/coordinateShowing/coordinateShowing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ecef } from "../config.js";
import { wgs84 } from "../config.js";
import { ecef } from '../config.js'
import { wgs84 } from '../config.js'

const posCanvas = document.getElementById('posCanvas') // lat/lon
const elevationCanvas = document.getElementById('elevationCanvas')
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
initCoordinateCanvases,
updateCoordinateText,
updateTargetElevation
} from "./CoordinateShowing/coordinateShowing.js";
} from './CoordinateShowing/coordinateShowing.js'

async function init() {
window.cesiumViewer = createCesiumViewer('cesiumContainer')
Expand Down

0 comments on commit f04fabb

Please sign in to comment.