Hello there! I also encountered a button that cannot be rotated in the center, but I do not know how to solve it.
This is my css #CSS #switch.switch12 {
transform-origin: center;
}
Hello, I wrote your method, but it didn’t work. Is it possible to provide you with a complete ha-floorplan.html, svg, css, or file for my reference? thank you very much
Thank you very much, because I follow the example of your github, and he actually can’t work normally. So I would like to refer to your complete example to modify my own svg, ha-floorplan.html, css, yaml, etc. code! Thank you very much, and look forward to your sharing!
Do not use the github example, use the example in link by @monkey-house. If you have trouble, check the comments from his solution to the bottom, then you should make it work. If you still have problems after you tried all that, I can send you the Javascript and ha-floorplan.html. But everything you need is in the link.
I am trying to edit the walls and the furniture to resemble mine on inkscape. I cant edit the individual objects of the svg file rather the whole floor plan as a square.
Ohhh ok, that’s not going to work then. The floor plan was generated with https://floorplanner.com/, and I just imported the bitmap image into Inkscape and created the active elements like the light rectangles.