File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ class VLWholeSlideMicroscopyImageViewer {
705705 const allDrawOptions = Object . assign ( defaultDrawOptions , customDrawOptions ) ;
706706 this [ _interactions ] . draw = new Draw ( allDrawOptions ) ;
707707
708- const container = this [ _map ] . getTarget ( ) ;
708+ const container = this [ _map ] . getTargetElement ( ) ;
709709
710710 //attaching openlayers events handling
711711 this [ _interactions ] . draw . on ( 'drawend' , ( e ) => {
@@ -737,7 +737,7 @@ class VLWholeSlideMicroscopyImageViewer {
737737 layers : [ this [ _drawingLayer ] ]
738738 } ) ;
739739
740- const container = this [ _map ] . getTarget ( ) ;
740+ const container = this [ _map ] . getTargetElement ( ) ;
741741
742742 this [ _interactions ] . select . on ( 'select' , ( e ) => {
743743 publish ( container , EVENT . ROI_SELECTED , _getROIFromFeature ( e . selected [ 0 ] , this . _pyramid ) ) ;
You can’t perform that action at this time.
0 commit comments