SVG map pan and zoom

Hi all
I hope this is in the right topic area.

I have an SVG map , with multiple areas on it, each with a link to a webpage for further information for that area.

A developer colleague has implemented pan and zoom on it using the d3.js zoom function which works great in all browsers… apart from in IE.

For some users you can single click on the map to open the link and double click on it to zoom in to the map as expected.

However for some users clicking simply zooms and you cannot open the links (other than right click open in new window)

So - has anyone ever experienced this? Does anyone have any recommendations for any SVG pan/zoom functions they have successfully implemented before?

On a tight deadline - we had tested on many browsers and devices all successfully, it wasn’t until late in the day that we noticed this inconsistent IE behaviour.

Any comments appreciated.

Cheers,
Matt

What version of I.E.?

Supported Environments
D3 supports so-called “modern” browsers, which generally means everything except IE8 and older versions. D3 is tested against Firefox, Chrome, Safari, Opera, IE9+, Android and iOS. Parts of D3 may work in older browsers, as the core D3 library has minimal requirements: JavaScript and the W3C DOM API. D3 uses the Selectors API Level 1, but you can preload Sizzle for compatibility. You’ll need a modern browser to use SVG and CSS3 Transitions. D3 is not a compatibility layer, so if your browser doesn’t support standards, you’re out of luck. Sorry!

Hi,
Thanks for the reply - we’re using IE11 and the behavior is not consistent across users.

Possibly could be caused by settings on our large network but having real trouble identifying why it works for some and not for others. I can’t recreate the issue outside the network but don’t have access to as many users to test with as I do internally - it would be helpful if I could understand the scale of the issue.

So in this case I would assume it’s not due to the version of IE as 11 should be supported. I’ve tried edge too and all OK there.

Thanks,
Matt

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.