Translate interaction - event details missing info on purpose?
See original GitHub issueHi!
So I’m using the Translate interaction in my project. I’m listening to the TRANSLATESTART
and TRANSLATEEND
events. They both include the event’s map coordinates in the details, but not the event’s pixel, or the event itself. Was there a reason for this? (See
https://github.com/openlayers/openlayers/blob/master/src/ol/interaction/Translate.js#L168)
I’d love to have access to the pixel. I know there are many workarounds but I was curious. If you guys are open to it, I’ll gladly do a pull request where the events contain more info.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Dragging a feature in OpenLayers 3
I've added a select and modify interaction to my map, which enables selection and dragging of features. The problem is that I add...
Read more >OpenLayers v7.1.0 API - Class: Translate
Interaction for translating (moving) features. If you want to translate multiple features in a single action (for example, the collection used by a...
Read more >Interactions API Reference - Discord.py
Defaults to the user's locale . data (Any) – The extraneous data that is being translated. If not specified, either command or message ......
Read more >XR Interaction Toolkit | 0.10.0-preview.7
AR gesture interactor and interactables to translate gestures such as place, select, translate, rotate, and scale into object manipulation.
Read more >Events | Developer migration for basic measurement
The data sent with an event hit includes Category, Action, and Label. ... matches your UA event but is missing information on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would you consider using
ol/Map
’s getPixelFromCoordinate() API method a workaround?This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.