diff --git a/wheelzoom.js b/wheelzoom.js
index <HASH>..<HASH> 100644
--- a/wheelzoom.js
+++ b/wheelzoom.js
@@ -1,11 +1,12 @@
 /*!
-	Wheelzoom 3.0.4
+	Wheelzoom 3.1.0
 	license: MIT
 	http://www.jacklmoore.com/wheelzoom
 */
 window.wheelzoom = (function(){
 	var defaults = {
-		zoom: 0.10
+		zoom: 0.10,
+		maxZoom: false,
 	};
 
 	var canvas = document.createElement('canvas');
@@ -91,6 +92,11 @@ window.wheelzoom = (function(){
 				bgHeight -= bgHeight*settings.zoom;
 			}
 
+			if (settings.maxZoom) {
+				bgWidth = Math.min(width*settings.maxZoom, bgWidth);
+				bgHeight = Math.min(height*settings.maxZoom, bgHeight);
+			}
+
 			// Take the percent offset and apply it to the new size:
 			bgPosX = offsetX - (bgWidth * bgRatioX);
 			bgPosY = offsetY - (bgHeight * bgRatioY);
feat: added option for maximum zoom level