diff --git a/src/cesiumViewer.js b/src/cesiumViewer.js index c029105..2661724 100644 --- a/src/cesiumViewer.js +++ b/src/cesiumViewer.js @@ -28,13 +28,13 @@ export function createCesiumViewer(containerId) { } /** -* Loads country borders from a GeoJSON file and adds them to the Cesium viewer. -* The data source is stored as viewer._countryBorders for visibility management. -* -* @param {Cesium.Viewer} viewer - The Cesium viewer instance -* @returns {Promise} The loaded GeoJSON data source -* @throws {Error} If the GeoJSON file cannot be loaded or parsed -*/ + * Loads country borders from a GeoJSON file and adds them to the Cesium viewer. + * The data source is stored as viewer._countryBorders for visibility management. + * + * @param {Cesium.Viewer} viewer - The Cesium viewer instance + * @returns {Promise} The loaded GeoJSON data source + * @throws {Error} If the GeoJSON file cannot be loaded or parsed + */ export async function loadCountryBorders(viewer) { const dataSource = await Cesium.GeoJsonDataSource.load( '/data/geo/world_simplified.geojson', diff --git a/src/potreeViewer.js b/src/potreeViewer.js index ffdb2e3..8517245 100644 --- a/src/potreeViewer.js +++ b/src/potreeViewer.js @@ -63,7 +63,7 @@ export async function createPotreeViewer(containerId, pointcloudUrl, settings) { // Initialize camera position and target point (manually chosen) viewer.scene.view.setView( [3961574.044, 1494736.334, 8348318.575], // Initial camera position - [1500922.651, 510673.030, 5427934.722] // Initial target point + [1500922.651, 510673.03, 5427934.722] // Initial target point ) return viewer