forked from MapComplete/MapComplete
Remove notes from pdf export
This commit is contained in:
parent
917750ab6f
commit
d6eeb74481
2 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue