maptalks / maptalks/maptalks.js

marker 设置markerRotation的值是0-180度时,打开自身的InfoWindow,有偏移

Open
#1,732 0 comments 0 reactions 0 assignees View on GitHub

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?

1.0.0-rc.4
Issue description

marker 设置markerRotation的值是大于0小于180度时,打开自身的InfoWindow有偏移,而在180度至360时,没有偏移

Please provide a reproduction URL (on any jsfiddle like site)
https://jsfiddle.net/bk209/n43mcLd1/56/


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction at https://jsfiddle.net/bk209/n43mcLd1/56/ and trace the markerRotation and InfoWindow behavior in the JavaScript source. Reproduce the offset for rotations between 0 and 180 degrees, compare it with 180–360 degrees, and consider the issue done when the InfoWindow remains correctly positioned across the reported rotation range.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.