如此代码笔所示:
https://codepen.io/genworks/pen/EeJNMO?editors=1010
svgpanzoom 与缩放级别成比例地增加线条粗细,至少在使用默认选项时,例如当这样调用时:
var panZoomSVG1 = svgPanZoom('#svg-1', {
zoomEnabled: true,
controlIconsEnabled: true,
fit: true,
center: true});
有没有办法让它在缩放时保持原来的线条粗细?