View unanswered posts | View active topics It is currently 2022-10-02 15:09



Reply to topic  [ 3 posts ] 
 能否实现一个原图和一个略缩图相对应拖动? 
Author Message
初级会员

Joined: 2017-11-29 11:31
Posts: 52
Post 能否实现一个原图和一个略缩图相对应拖动?
如下图那样子,在右下角处一个全景的缩图,可以与原图同步移动。点击缩图时,原图也可随之移到相应位置。
Attachment:
659d1d8de79d1ef2756b71601e1a36da_big.jpg
659d1d8de79d1ef2756b71601e1a36da_big.jpg [ 12.08 KiB | Viewed 3922 times ]


2018-01-17 9:28
Profile
初级会员

Joined: 2017-11-29 11:31
Posts: 52
Post Re: 能否实现一个原图和一个略缩图相对应拖动?
是不是使用toCanas生成一个略缩图?我用下面的代码出错:TypeError: this._visibleMap is undefined。
var a = network.toCanvas(100,100);
a.setLocation({x:10,y:500});
box.add(a);


2018-01-17 9:37
Profile
TWaver开发组
User avatar

Joined: 2017-02-22 10:01
Posts: 487
Post Re: 能否实现一个原图和一个略缩图相对应拖动?
可以用鹰眼可视化组件


2018-01-17 16:08
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: