Giter Site home page Giter Site logo

Kartendruck funktioniert nicht about apf2 HOT 4 CLOSED

barbalex avatar barbalex commented on August 17, 2024
Kartendruck funktioniert nicht

from apf2.

Comments (4)

barbalex avatar barbalex commented on August 17, 2024

Ich bin in meine Zeitmaschine gestiegen und habe gefunden, seit wann dieser Fehler auftritt: d416fe1

Es scheint also mit dem Import der Icons für die Karte zusammenzuhängen: irgendwie erträgt dom-to-image diese Art des Imports nicht.

Blöd nur, dass das eine komplexe Sache ist, weil es eng in das Entwicklungs-Umfeld eingebunden ist.

Im Prinzip sollte die Sache funktionieren, wenn die svg nicht importiert sondern direkt verwendet werden. Das ist vermutlich sehr mühsam und macht den Code extrem unübersichtlich. Aber ich muss es wohl versuchen. Denn das Problem in dom-to-image zu lösen ist vermutlich viel komplexer.

from apf2.

barbalex avatar barbalex commented on August 17, 2024

Hm.

Ist noch komplexer als gedacht, weil:

  • in der Karte url's benutzt werden für die Symbole (nicht die svg's selbst)
  • die Symbole auch im Navigationsbaum benutzt werden, dort aber als Komponenten (deren Import in der Karte scheitert)

from apf2.

barbalex avatar barbalex commented on August 17, 2024

Das war ziemlich aufwändig: https://github.com/barbalex/apf2/pull/674/files

from apf2.

rebeccakurz avatar rebeccakurz commented on August 17, 2024

Das sieht wahnsinnig komplex aus, ich verstehe nur Bahnhof...
Schön, dass du es lösen konntest!

from apf2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.