File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 5757 viewer . render ( { container} ) ;
5858 } ) ;
5959 </ script >
60-
61- < div > < h1 > DICOM Microscopy Viewer Example</ h1 > </ div >
62- < div id ="root "> </ div >
60+ < div class ="container ">
61+ < div class ="page-header ">
62+ < h1 >
63+ DICOM Microscopy Viewer Example
64+ </ h1 >
65+ < p >
66+ This is a simple example rendering a Microscopy image
67+ </ p >
68+ < a href ="../ "> Go back to the Examples page</ a >
69+ </ div >
70+ < div id ="root "> </ div >
71+ </ div >
6372 </ body >
6473</ html >
Original file line number Diff line number Diff line change 3131 </ noscript >
3232
3333 < script src ="https://unpkg.com/dicomweb-client "> </ script >
34- < script src ="https://unpkg.com/dicom-microscopy-viewer "> </ script >
35- <!-- < script src="../../build/dicom-microscopy-viewer.js"></script> -- >
34+ <!-- < script src="https://unpkg.com/dicom-microscopy-viewer"></script> -- >
35+ < script src ="../../build/dicom-microscopy-viewer.js "> </ script >
3636 < script >
3737
3838 const CORE_ACTIONS = {
Original file line number Diff line number Diff line change @@ -569,15 +569,18 @@ class VLWholeSlideMicroscopyImageViewer {
569569 layers : [ imageLayer , this [ _drawingLayer ] ] ,
570570 view : view ,
571571 controls : [ ] ,
572+ enableRotation : false ,
572573 loadTilesWhileAnimating : true ,
573574 loadTilesWhileInteracting : true ,
574575 logo : false
575576 } ) ;
576577 } else {
578+
577579 this [ _map ] = new Map ( {
578580 layers : [ imageLayer , this [ _drawingLayer ] ] ,
579581 view : view ,
580582 controls : [ ] ,
583+ enableRotation : false ,
581584 loadTilesWhileAnimating : true ,
582585 loadTilesWhileInteracting : true ,
583586 logo : false
You can’t perform that action at this time.
0 commit comments