index : pan-zoom | |
SVG pan/zoom library. |
aboutsummaryrefslogtreecommitdiff |
Pan-Zoom
Pan/zoom library for SVG elements. Hold and drag to pan. Use the mouse wheel to
zoom. See src/app.js
for a usage example.
View demo
-
Install the development server packages.
docker run --rm -w /app -v $PWD:/app -u $(id -u):$(id -u) node npm install
-
Start the server.
docker run --rm --init -it -w /app -v $PWD:/app -p 8080:8080 node node dev-server.js
-
Visit
localhost:8080
to view.