
I realise that this will limit adoption, but for an enterprising developer out there, I can't imagine that adding mobile support would be nearly as big of a challenge as it was to port the library to Angular from AngularJS! Installation As long as this remains the case, I respecfully ask for no more issues concerning mobile support, please.
#Angular imageviewer zoom pan full
As the application that this library was developed for was never intended for use with mobile devices, there are no plans to implement full mobile support. The library implements some basic support that may work with some mobile devices, though pinch-to-zoom still needs considerable work. I am actively soliciting pull requests for mobile support.

Mobile Support - Actively Soliciting PR's

New API methods panToPoint(), panDelta(), panDeltaPercent(), panDeltaAbsolute(), and many others have been added.The zoomIn() and zoomOut() API functions can zoom to either the last zoomed point rather or to the view's centre point, depending on the value of zoomType ( lastPoint or viewCenter).A convenience method resetView() has been provided to animate the view back to its initial settings.zoomToFit() animation - using the zoomToFit() function now will animate the view to the a desired rectangle.Zoom can now be smoothly and freely controlled using the mouse wheel or trackpad.
#Angular imageviewer zoom pan free
Free zoom - zooming is no longer limited to switching between two distinct zoom levels.The pan-zoom service has been eliminated.Renamed class panzoomOverlay to pan-zoom-overlay.Renamed class zoomElement to zoom-element.Renamed class panElement to pan-element.Renamed Ng2PanZoomModule to NgxPanZoomModule.Added proper TypeScript definitions for API methods.Defines which point to zoom to/from: either the centre of the screen or the last point zoomed to/from. Added options lastPoint (default for backwards-compatibility) and viewCenter to zoomIn() and zoomOut() API methods.


It is only tested with the corresponding version of Angular. It is therefore no longer compatible with legacy Angular version which are still using the View Engine. It is built using Angular CLI 13.x in partial Ivy compilation mode. Many thanks go out to Martin Vindahl Olsen for having written it, and for his blessing in this undertaking. It was adapted from the angular-pan-zoom library for AngularJS, but it has been heavily modified. Provides rudimentary support for touchscreens (read section on mobile support). An Angular component for panning and zooming an element or elements using the mouse and mousewheel.
