canvas tile display seems to be transparent :/
hi, i'm using our own pmtiles tileset server, the test url is : https://tilesets.urbanease.io/cadastre/64/64102/without_protobuf.pmtiles the location for seeing it is :bayonne, france latlng=[43.492949,-1.474841]
on the viewer, all seems to be ok bit leaflet preview don't work viewer i'm using react and leaflet with the npm protomaps package version 1.19.0
my code is simple
const map = useMap(); const url = 'https://tilesets.urbanease.io/cadastre/64/64102/without_protobuf.pmtiles'; const layer = protomaps.leafletLayer({ url: url, id: 'cadastral', }); layer.addTo(map);
canvas are created but seems to be transparent, colors in paint_rules layer are good and opacity ok
i don't understand where is the pb bad pmtiles file? no compatibility with leaflet? thx for help
did you set the paint_rules to match the layers in your file? do you know what the layers are named in the tiles?
i tryed to write my own paint_rules yes but nothing change but it is really possible the layers have different name. I will ask my colleague who created the pmtiles files and be back for answer :)
hi :) it was that geojson => mbtiles => pmtiles the mbtile to pmtiles process regroup all layers in one named 64102. my data department teammate is on it to fix thx for your help
@DavidDvpt what tool are you using going geojson > mbtiles?
hi :) my teammate tells me :
tippecanoe geojson -> mbtiles pmtiles-convert mbtiles -> pmtiles