Skip to content

Commit

Permalink
examples(js): rename and move LoadingScreen to GUI folder
Browse files Browse the repository at this point in the history
  • Loading branch information
zarov committed Aug 1, 2019
1 parent 15d10b3 commit f370f44
Show file tree
Hide file tree
Showing 36 changed files with 62 additions and 62 deletions.
4 changes: 2 additions & 2 deletions examples/3dtiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
</head>
Expand All @@ -17,7 +17,7 @@
</div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script src="js/3dTilesHelper.js"></script>
<script type="text/javascript">
Expand Down
4 changes: 2 additions & 2 deletions examples/3dtiles_hierarchy.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
</head>
Expand All @@ -17,7 +17,7 @@
</div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script src="js/3dTilesHelper.js"></script>
<script type="text/javascript">
Expand Down
4 changes: 2 additions & 2 deletions examples/collada.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -14,7 +14,7 @@
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/ThreeLoader.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script type="text/javascript">
// # Simple Globe viewer
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/cubic_planar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
window.THREE = itowns.THREE;
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/drag-n-drop.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Itowns - GeoJSON drag and drop</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -19,7 +19,7 @@
</div>
<script src="js/DragNDrop.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
// Define initial camera position
var positionOnGlobe = { longitude: 2.351323, latitude: 48.856712,
Expand Down
4 changes: 2 additions & 2 deletions examples/externalscene.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv">
</div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
var positionOnGlobe = { longitude: 2.351323, latitude: 48.856712, altitude: 25000000 };

Expand Down
4 changes: 2 additions & 2 deletions examples/globe.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</style>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -30,7 +30,7 @@
</div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script type="text/javascript">
// # Simple Globe viewer
Expand Down
2 changes: 1 addition & 1 deletion examples/globe_geojson_to3D.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Itowns - Globe + geoson to 3d</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/globe_travel.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</style>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions examples/globe_vector.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Itowns - Globe + color layers from vector data</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -12,7 +12,7 @@
<div id="viewerDiv" class="viewer"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="js/FeatureToolTip.js"></script>
<script type="text/javascript">
// # Simple Globe viewer
Expand Down
4 changes: 2 additions & 2 deletions examples/globe_vector_tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -14,7 +14,7 @@
<div id="debug" width="400" height="300"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script>
// # Simple Globe viewer + a vector tile layer
Expand Down
4 changes: 2 additions & 2 deletions examples/globe_wfs_color.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -13,7 +13,7 @@
<div id="viewerDiv"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<div class="help">
<p><b>Building Information</b></p>
Expand Down
4 changes: 2 additions & 2 deletions examples/globe_wfs_extruded.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -13,7 +13,7 @@
<div id="viewerDiv"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<div class="help">
<p><b>Building Information</b></p>
Expand Down
4 changes: 2 additions & 2 deletions examples/gpx.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
// # Loading gpx file

Expand Down
2 changes: 1 addition & 1 deletion examples/immersive_paris.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/layersColorVisible.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<title>Itowns - Color layers Visible</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
</head>
<body>
<div id="viewerDiv"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
/* global itowns,document,GuiTools, setupLoadingScreen */

Expand Down
4 changes: 2 additions & 2 deletions examples/multiglobe.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<style type="text/css">
#help {
Expand All @@ -24,7 +24,7 @@
<div id="viewerDiv"></div>
<span id="help">Press <em>Space</em> to switch globe</span>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
/* global itowns,document,GuiTools*/
var positionOnGlobe = { longitude: 2.351323, latitude: 48.856712, altitude: 35000000 };
Expand Down
2 changes: 1 addition & 1 deletion examples/multipolygon.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Itowns - Globe + Multipolygon Geojson</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions examples/orientation_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -13,7 +13,7 @@
<div id="viewerDiv"></div>
<script src="js/GUI/GuiTools.js"></script>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="js/ThreeLoader.js"></script>
<script src="../dist/debug.js"></script>
<script type="text/javascript">
Expand Down
4 changes: 2 additions & 2 deletions examples/orientation_utils_planar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="js/ThreeLoader.js"></script>
<script type="text/javascript">
// Define projection that we will use (taken from https://epsg.io/2154, Proj4js section)
Expand Down
4 changes: 2 additions & 2 deletions examples/orthographic.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
// # Orthographic viewer

Expand Down
4 changes: 2 additions & 2 deletions examples/planar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
Expand All @@ -24,7 +24,7 @@
</div>
<div id="viewerDiv" class="viewer"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script src="../dist/debug.js"></script>
<script src="js/GUI/GuiTools.js"></script>
<script type="text/javascript">
Expand Down
4 changes: 2 additions & 2 deletions examples/planar_vector.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Expand All @@ -23,7 +23,7 @@
</div>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script type="text/javascript">
// Define projection that we will use (taken from https://epsg.io/3946, Proj4js section)
itowns.proj4.defs('EPSG:3946', '+proj=lcc +lat_1=45.25 +lat_2=46.75 +lat_0=46 +lon_0=3 +x_0=1700000 +y_0=5200000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs');
Expand Down
4 changes: 2 additions & 2 deletions examples/planar_vector_tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="stylesheet" type="text/css" href="css/loading_screen.css">
<link rel="stylesheet" type="text/css" href="css/LoadingScreen.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="viewerDiv"></div>
<script src="../dist/itowns.js"></script>
<script src="js/loading_screen.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
<script>
// # Planar view with one single layer of vector tile

Expand Down
Loading

0 comments on commit f370f44

Please sign in to comment.