maptalks / maptalks/maptalks.js
Wrong paint of OverviewControl's perspective map
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
**maptalks's version and what browser you use?**
----
v0.45.1
**Issue description**
----
When main map zoomed to zoom 1, perspective is drawn wrongly

**Please provide a reproduction URL (on any jsfiddle like site)**
----
https://maptalks.org/examples/cn/ui-control/control-overview/#ui-control_control-overview
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided OverviewControl reproduction URL and inspect how the perspective map is rendered when the main map is at zoom 1. Reproduce the incorrect drawing in maptalks.js v0.45.1, then trace the relevant OverviewControl code. Done means the perspective is drawn correctly at zoom 1 without regressing other overview-map behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100