Skip to content

Commit

Permalink
fix(examples): bad images link and wrong css in loading screen
Browse files Browse the repository at this point in the history
  • Loading branch information
zarov committed Aug 19, 2019
1 parent 9097436 commit dd8c6b5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ its contribution [here](docs/README.md).
Official examples can be [viewed
here](http://www.itowns-project.org/itowns/examples/). Some examples available:

* [Globe with WFS data](http://www.itowns-project.org/itowns/examples/globe_wfs_extruded.html)
* [Plane mode with Vector Tiles](http://www.itowns-project.org/itowns/examples/planar_vector_tiles.html)
* [3D effect using scene postprocessing](http://www.itowns-project.org/itowns/examples/stereo.html)
* [Globe with split rendering](http://www.itowns-project.org/itowns/examples/split.html)
* [Globe with WFS data](http://www.itowns-project.org/itowns/examples/#source_stream_wfs_3d)
* [Plane mode with Vector Tiles](http://www.itowns-project.org/itowns/examples/#vector_tile_raster_2d)
* [3D effect using scene postprocessing](http://www.itowns-project.org/itowns/examples/#effects-stereo)
* [Globe with split rendering](http://www.itowns-project.org/itowns/examples/#effects_split)

[![iTowns examples](http://www.itowns-project.org/images/montage.jpg)](http://www.itowns-project.org/itowns/examples/index.html)
[![iTowns examples](http://www.itowns-project.org/images/montage.jpg)](http://www.itowns-project.org/itowns/examples/)

## How to use

Expand Down
Binary file added examples/images/itowns_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<nav class="scroll-section">
<a href="/">
<img src="../docs/static/images/itowns_logo.png" width="245px"/>
<img src="images/itowns_logo.png" width="245px"/>
</a>
</nav>

Expand Down Expand Up @@ -47,7 +47,7 @@
function goTo(url, slug) {
if (slug) window.location.hash = slug;
var iframe = document.getElementById('content');
iframe.src = url;
iframe.src = url.replace('index.html', '');
iframe.focus();

var viewSrc = '<a href="https://github.com/iTowns/itowns/blob/master/examples/';
Expand Down
2 changes: 1 addition & 1 deletion examples/js/GUI/LoadingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function setupLoadingScreen(viewerDiv, view) {
loadingScreenContainer = document.createElement('div');
// eslint-disable-next-line no-multi-str
loadingScreenContainer.innerHTML = '\
<div class="text">\
<div>\
<span class="c1">i</span><span class="c2">T</span><span class="c3">o</span><span class="c4">w</span><span class="c5">n</span><span class="c6">s</span>\
</div>';
loadingScreenContainer.id = 'itowns-loader';
Expand Down
2 changes: 1 addition & 1 deletion src/Layer/ElevationLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import textureConverter from 'Converter/textureConverter';
* internally for optimisation.
* @property {number} scale - Used to apply a scale on the elevation value. It
* can be used for exageration of the elevation, like in [this
* example](https://www.itowns-project.org/itowns/examples/tiff.html).
* example](https://www.itowns-project.org/itowns/examples/#plugins_pyramidal_tiff).
*/
class ElevationLayer extends Layer {
/**
Expand Down

0 comments on commit dd8c6b5

Please sign in to comment.