echarts 地图拖拽图形超出范围无法取消拖拽事件

x6h2sr28  于 2022-12-31  发布在  Echarts
关注(0)|答案(2)|浏览(704)

Version

4.3.0

Steps to reproduce

点击地图拖拽平移
鼠标超出图形范围
松开鼠标
移动回图形
地图也能跟随鼠标移动

What is expected?

点击地图拖拽平移
鼠标超出图形范围
松开鼠标
移动回图形
地图也能跟随鼠标移动

What is actually happening?

点击地图拖拽平移
鼠标即将超出图形范围 取消拖拽事件
或者 规定拖拽范围

点击地图拖拽平移
鼠标即将超出图形范围 取消拖拽事件
或者 规定拖拽范围

f5emj3cl

f5emj3cl1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

1rhkuytd

1rhkuytd2#

@qiaoxiayu It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗
TRANSLATED

TITLE

The drag event cannot be canceled if the map drag graphics exceeds the range

BODY

Version

4.3.0

Steps to reproduce

Click on the map to drag and pan
The mouse is out of the graphics range
Release the mouse
Move back to the graphic
The map can also follow the mouse

What is expected?

Click on the map to drag and pan
The mouse is out of the graphics range
Release the mouse
Move back to the graphic
The map can also follow the mouse

What is actually happening?

Click on the map to drag and pan
The mouse is about to go out of the drawing range Cancel the drag event
Or specify the drag range

Click on the map to drag and pan
The mouse is about to go out of the drawing range Cancel the drag event
Or specify the drag range

相关问题