Skip to content

Feat(MapComponent) : Add pointermove map event#4501

Merged
ahennr merged 7 commits intoterrestris:mainfrom
ahennr:feat/pointer-rest-coordinate-info
Mar 12, 2026
Merged

Feat(MapComponent) : Add pointermove map event#4501
ahennr merged 7 commits intoterrestris:mainfrom
ahennr:feat/pointer-rest-coordinate-info

Conversation

@ahennr
Copy link
Member

@ahennr ahennr commented Feb 11, 2026

Description

This PR introduces a new property firePointerRestto MapComponent (configurable via pointerRestInterval and pointerRestTolerance). Herewith it is possible to trigger useCoordinateInfo hook when the mouse has been moved on the map.

Beside, some unit tests for MapComponent covering rendering, map target lifecycle,
pointer rest event registration/deregistration, and mouse interaction behavior have been added..

Depends on terrestris/react-util#1001 and terrestris/react-util#1003

Related issues or pull requests

Pull request type

  • Bugfix
  • Feature
  • Dependency updates
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe)

Do you introduce a breaking change?

  • Yes
  • No

Checklist

  • I understand and agree that the changes in this PR will be licensed under the
    BSD-2-Clause.
  • I have followed the guidelines for contributing.
  • The proposed change fits to the content of the Code of Conduct.
  • I have added or updated tests and documentation, and the test suite passes (run npm run check locally).
  • I have added a screenshot/screencast to illustrate the visual output of my update.

@ahennr ahennr force-pushed the feat/pointer-rest-coordinate-info branch from 9a61814 to 364e9bf Compare February 11, 2026 15:52
@ahennr ahennr force-pushed the feat/pointer-rest-coordinate-info branch from 364e9bf to 6278369 Compare March 11, 2026 14:47
@ahennr ahennr marked this pull request as ready for review March 11, 2026 15:35
Copy link
Member

@dnlkoch dnlkoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that's very useful @ahennr!

@ahennr ahennr force-pushed the feat/pointer-rest-coordinate-info branch from 17295d1 to 14f12cd Compare March 12, 2026 10:59
@ahennr ahennr merged commit bfccfce into terrestris:main Mar 12, 2026
2 checks passed
@ahennr ahennr deleted the feat/pointer-rest-coordinate-info branch March 12, 2026 11:55
@dnlkoch
Copy link
Member

dnlkoch commented Mar 12, 2026

🎉 This PR is included in version 33.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants