https://github.com/owenizedd/simulate-mouse-drag-on-canvas
To simulate Mouse Drag on canvas, could work with Google Maps
https://github.com/owenizedd/simulate-mouse-drag-on-canvas
Last synced: about 1 month ago
JSON representation
To simulate Mouse Drag on canvas, could work with Google Maps
- Host: GitHub
- URL: https://github.com/owenizedd/simulate-mouse-drag-on-canvas
- Owner: owenizedd
- Created: 2022-09-19T06:19:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T06:20:37.000Z (almost 3 years ago)
- Last Synced: 2025-02-16T19:18:15.597Z (4 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simulate-Mouse-Drag-on-Canvas
To simulate Mouse Drag on canvas, could work with Google MapsTo use:
```js
window.simulateRandomGesture(100,100); //diagonally to right and bottomwindow.simulateRandomGesture(100,0); //right 100px
window.simulateRandomGesture(-100,0)//left 100px
```