We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We try to use BDNB API to display Vector Tiles of buildings.
We just try to modify vector_tile_raster_2d.html with :
var mvtSource = new itowns.VectorTilesSource({ zoom:{ min: 14, max: 14, }, style: { sources: { sourceTiles: { type: "xyz", tiles: ['https://api.bdnb.io/v2/gorenove/tiles/public/buildings/{z}/{x}/{y}.pbf'] } }, layers: [ { id: "batiment-groupe", type: "fill", source: "Gorenove", "source-layer": "sql_statement", paint: { "fill-color": "#FF0000", "fill-opacity": 1 } } ] }, });
But the tiles doesn't appear. How we can find layers to correctly configure the style ?
The text was updated successfully, but these errors were encountered:
Hello, Using the exact same lines as you copied here, I got some data on the view as soon as you get in a zone where there is tile to display.
I set up the view at:
// Paris const coord = new itowns.Coordinates('EPSG:4326', 2.351323, 48.856712); const placement = { coord, range: 10000, }; const viewerDiv = document.getElementById("viewerDiv"); const view = new itowns.GlobeView(viewerDiv, placement);
And got : as a result
Sorry, something went wrong.
Ok thank you, I will try now with PlanarView ! Now I know it works with globe view.
ftoromanoff
No branches or pull requests
We try to use BDNB API to display Vector Tiles of buildings.
We just try to modify vector_tile_raster_2d.html with :
But the tiles doesn't appear. How we can find layers to correctly configure the style ?
The text was updated successfully, but these errors were encountered: