DEV Community

Discussion on: Interactive SVG + JS map

Collapse
 
anwar_nairi profile image
Anwar

Very cool! I did not know this tool.

On my previous job, we had to be able to drag, pan and rotate a map, and we first used npmjs.com/package/svg-pan-zoom, but we came up to some difficulties when adding the rotation. So we ended up creating our own SVG engine. It was fun to do!

Collapse
 
lucafaggianelli profile image
Luca Faggianelli

Thank you! Yeah pan and zoom may be very tricky, in fact also svg.js has some glitches in certain cases during panning, but overall is very useful and light.