[Feature] Enable mouse zooming and translating on maps even when the mouse is not over the map itself
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
It's a bit confusing that you can only zoom with the mouse when it's over the map. On some maps with too much space between regions you can't zoom with the mouse in the middle. On the other hand, on any map (like https://echarts.apache.org/examples/en/editor.html?c=map-usa) if you zoom out enough, the map becomes very small and there's not much room left to zoom again:

Additionally, it appears that regions with no associated data are also ignored when zooming the map.
### What does the proposed API look like?
Probably the API shouldn't change, but in case someone prefers to keep the current behavior maybe something like:
`{ roam: true, roamOn: ("everywhere" | "map")}`
Contributor guide
Assessment
This issue has not been assessed yet.