Zooming and panning on a floorplan made with Raphaeljs
Domanda
I am making some kind of floor plan that shows the position of participants of a meeting. For this I am using Raphael.js.
I am looking to find a way to zoom & pan trough that floorplan but I am not finding anything. Can anyone point me in the right direction?
Soluzione
Without changing any of your code that defines the rest of the functionality go to http://www.irunmywebsite.com/raphael/additionalhelp.php?v=2&q=paper.setviewbox Also use the raphael link to the documentation which always points to the latest....
There are some powerful new features in Raphael 2 that are not currently widely used. Whats nice about this is that its just an add on!
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow