1. Home
  2. Docs
  3. ZL WebGL Player
  4. UI Configuration Settings
  5. maxZoom

maxZoom

Set the maximum level of Zoom you wish to allow your customers.  Useful when the asset is slightly out of focus. 

Max Zoom 170%

Max Zoom 150%

Max Zoom 200%

Embed Code

				
					<div id="zoom1" style="width:100%; height:500px;"></div>
<div id="zoom2" style="width:100%; height:500px;"></div>
<div id="zoom3" style="width:100%; height:500px;"></div>

<script src="/zoomlook/assets/ZLWebGL.js"></script>
<script src="/zoomlook/assets/ZLPlayer.min.js"></script>
<script>
    window.onload = () => {
    			const ZL1 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLAnimation/",
    				clickLoad: false,
    				fps: 5,
    				maxZoom: '170%',
    				spinReverse: true
    			});
    			ZL1.loadZLView("ITAXfv-746089", "zoom1");
    	
    			const ZL2 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLAnimation/",
    				clickLoad: false,
    				fps: 5,
    				maxZoom: '150%',
    				spinReverse: true
    			});
    			ZL2.loadZLView("ITAXfv-746089", "zoom2");
    	
    			const ZL3 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLAnimation/",
    				clickLoad: false,
    				fps: 5,
    				maxZoom: "200%",
    				spinReverse: true
    			});
    			ZL3.loadZLView("ITAXfv-746089", "zoom3");
    		};
</script>
				
			

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *