Entrance moving after zooming
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 212
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Создаём карту и стрелку входа:
var map = DG.map('map', {
center: [82.89, 54.98],
zoom: 17
});
new DG.Entrance({
vectors: ['LINESTRING(82.892183367157 54.98106417779401, 82.893283367157 54.98006417779401)']
}).addTo(map);
Делаем map.zoomOut(10), затем map.zoomIn(10).
Стрелка входа съезжает с изначальной точки.
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 JavaScript reproduction and inspect the DG.Entrance entry point, focusing on how the entrance arrow handles map zoom changes. Reproduce the issue by calling map.zoomOut(10) and map.zoomIn(10); the work is done when the arrow remains at its original location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100