Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Thumbnails and Layers attribute in svg #34

Open
KDupraz opened this issue Nov 19, 2020 · 0 comments
Open

Thumbnails and Layers attribute in svg #34

KDupraz opened this issue Nov 19, 2020 · 0 comments

Comments

@KDupraz
Copy link

KDupraz commented Nov 19, 2020

Hi everybody,
this a post to inform of problem on synoptics that embedded thumbnails. This is not documented in the ReadMe Tutorial and can cause more problem than only the Thumbnails.

So the structure require for the svg layers is:

  • main
    • background
      .. zoom0
      .. zoom1
      .. ...
    • ElementsGroup1
      .. zoom0
      .. zoom1
      .. ...
    • ...

But especially in inkscape when you name the different layers, it miss almost one import information. You have to add manually "class" attribute for layers (cited above). The attribute should appear in the xml of the svg file. These are the value you should defined if you want the synoptic works well:

  • main
    • background [class: layer]
      .. zoom0 [class: zoom level0]
      .. zoom1 [class: zoom level1]
      .. ...
    • ElementsGroup1 [class: layer selectable]
      .. zoom0 [class: zoom level0]
      .. zoom1 [class: zoom level1]
      .. ...
    • ...

I hope this can help.
Best regards,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant