-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I imported svg.js and svg.panzoom.js as the docs say but svg.panzoom.js still gives the SVG not defined error.
import { SVG } from "@svgdotjs/svg.js"
import "@svgdotjs/svg.panzoom.js"
componentDidMount(){
const draw = SVG(rawSvg).addTo('#map').size('100%', '100%').panZoom({ zoomMin: 1, zoomMax: 20 })
}
Metadata
Metadata
Assignees
Labels
No labels