Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer move #537

Merged
merged 40 commits into from
Dec 19, 2019
Merged

Pointer move #537

merged 40 commits into from
Dec 19, 2019

Conversation

pelord
Copy link
Member

@pelord pelord commented Dec 18, 2019

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?
There is 3 new features included

1- Retrieve the mouse coord on move(directive = igoPointerPosition)
2- Retrieve the mouse coord on move/click combined with a key down (directive = igoPointerPositionByKey), by default, CTRL is the defined key to press down.
3- The pointer position. The pointer position return also the reverse search sources summary. If there is multiple results from the same type, only the closest will be kept. To enable for each source the pointer summary, the search source must specify this property (showInPointerSummary).

      coordinatesreverse: {
        showInPointerSummary: true
      },

Examples:
1- mouse coord = igo2-lib demo , simple map section
2- mouse coord on move/click combined with a key down = igo2-lib demo , search section. The CTRL + mouse move trigger the coord reverse search.
3- The pointer position = igo2-lib demo , search section. Use F2 to enable/disable the pointer.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

@pelord pelord mentioned this pull request Dec 18, 2019
3 tasks
@pelord pelord requested a review from mbarbeau December 18, 2019 17:56
@mbarbeau mbarbeau merged commit 6ea9127 into master Dec 19, 2019
@mbarbeau mbarbeau deleted the pointerMove branch December 19, 2019 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants