DEV Community

loading...

Discussion on: Interactive SVG + JS map

Collapse
khalyomede profile image
Khalyomede

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 Author

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.