diff --git a/examples/config.json b/examples/config.json index 318b70e726..6b7648a23a 100644 --- a/examples/config.json +++ b/examples/config.json @@ -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" diff --git a/examples/vector_tile_raster_2d_mapbox.html b/examples/vector_tile_mapbox_raster.html similarity index 88% rename from examples/vector_tile_raster_2d_mapbox.html rename to examples/vector_tile_mapbox_raster.html index d76e179d65..01b704bd0f 100644 --- a/examples/vector_tile_raster_2d_mapbox.html +++ b/examples/vector_tile_mapbox_raster.html @@ -1,6 +1,6 @@ - Itowns - Globe + Itowns - vector-tiles 2d @@ -15,11 +15,6 @@ type="text/css" href="css/LoadingScreen.css" /> - @@ -29,8 +24,6 @@ - - @@ -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", {