Remove notes from pdf export

This commit is contained in:
Pieter Vander Vennet 2022-01-31 11:01:05 +01:00
parent 917750ab6f
commit d6eeb74481
2 changed files with 5 additions and 1 deletions

View file

@ -86,6 +86,10 @@ export default class ExportPDF {
if (tile.layer.layerDef.minzoom > l.zoom) { if (tile.layer.layerDef.minzoom > l.zoom) {
return return
} }
if(tile.layer.layerDef.id.startsWith("note_import")){
// Don't export notes to import
return;
}
new ShowDataLayer( new ShowDataLayer(
{ {
features: tile, features: tile,