File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1471,6 +1471,14 @@ class VolumeImageViewer {
14711471 } )
14721472 } )
14731473
1474+ this [ _map ] . on ( 'movestart' , ( event ) => {
1475+ publish ( this [ _map ] . getTargetElement ( ) , EVENT . MOVE_STARTED , { event } )
1476+ } )
1477+
1478+ this [ _map ] . on ( 'moveend' , ( event ) => {
1479+ publish ( this [ _map ] . getTargetElement ( ) , EVENT . MOVE_ENDED , { event } )
1480+ } )
1481+
14741482 let clickEvent = null
14751483
14761484 this [ _map ] . on ( 'pointermove' , ( event ) => {
@@ -5286,6 +5294,14 @@ class _NonVolumeImageViewer {
52865294 keyboardEventTarget : document
52875295 } )
52885296
5297+ this [ _map ] . on ( 'movestart' , ( event ) => {
5298+ publish ( this [ _map ] . getTargetElement ( ) , EVENT . MOVE_STARTED , { event } )
5299+ } )
5300+
5301+ this [ _map ] . on ( 'moveend' , ( event ) => {
5302+ publish ( this [ _map ] . getTargetElement ( ) , EVENT . MOVE_ENDED , { event } )
5303+ } )
5304+
52895305 view . fit ( projection . getExtent ( ) , { size : this [ _map ] . getSize ( ) } )
52905306 }
52915307
You can’t perform that action at this time.
0 commit comments