- Katılım
- 30 Temmuz 2019
- Mesajlar
- 1.971
- Çözümler
- 27
Hocam javascript ile koordinatı alıp fetch api GET veya POST request yaparak koordinatları gönderin flask tarafına.
developer.mozilla.org
developer.mozilla.org
Başarılar dilerim.
MouseEvent: clientX property - Web APIs | MDN
The clientX read-only property of the MouseEvent interface provides the horizontal coordinate within the application's viewport at which the event occurred (as opposed to the coordinate within the page).
Using the Fetch API - Web APIs | MDN
The Fetch API provides a JavaScript interface for making HTTP requests and processing the responses.