Skip to content

Commit

Permalink
fix(example): linked to review
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Jan 6, 2025
1 parent 358d7bb commit 00d592e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions examples/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"Vector tiles": {
"vector_tile_raster_3d": "Raster on 3D map",
"vector_tile_raster_2d": "Raster on 2D map",
"vector_tile_mapbox_raster": "Mapbox Vector Tiles to raster",
"vector_tile_3d_mesh": "Vector tile to 3d objects",
"vector_tile_3d_mesh_mapbox": "Mapbox Vector tile to 3d objects",
"vector_tile_dragndrop": "Drag and drop a style"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<title>Itowns - Globe</title>
<title>Itowns - vector-tiles 2d </title>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -15,11 +15,6 @@
type="text/css"
href="css/LoadingScreen.css"
/>
<link
rel="stylesheet"
type="text/css"
href="https://www.itowns-project.org/itowns/examples/css/widgets.css"
/>

<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.6/dat.gui.min.js"></script>
</head>
Expand All @@ -29,8 +24,6 @@
<!-- Import iTowns source code -->
<script src="../dist/itowns.js"></script>
<script src="../dist/debug.js"></script>
<!-- Import iTowns Widgets plugin -->
<script src="../dist/itowns_widgets.js"></script>
<!-- Import iTowns LoadingScreen and GuiTools plugins -->
<script src="js/GUI/GuiTools.js"></script>
<script src="js/GUI/LoadingScreen.js"></script>
Expand Down Expand Up @@ -78,7 +71,7 @@
const source = new itowns.VectorTilesSource({
style: "mapbox://styles/mapbox/streets-v8",
accessToken:
"pk.eyJ1IjoiZ2VvdXJmbyIsImEiOiJjbHdyZWVrd2owOW1rMmlxdmx2Z3Fwb2JhIn0.sg5en26yZ6aSEg6CsfUByA",
"pk.eyJ1IjoiZnRvcm9tYW5vZmYiLCJhIjoiY2xrc2Zpa2o3MDQxNTNxcG5sczJyaTlncyJ9.5KFKdMLIiy-b_fAjSVhjCQ",
});

const layer = new itowns.ColorLayer("vector-map", {
Expand Down

0 comments on commit 00d592e

Please sign in to comment.