fix: capture map image immediately on "Définir le cadrage" click
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
Save map data directly via API instead of emit('input') to avoid
draft state. Capture image, clear flag, then reload — the panel
shows the correct image in a single reload.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e806f6ac48
commit
9ea02b2465
4 changed files with 158 additions and 44 deletions
|
|
@ -56,6 +56,7 @@ Kirby::plugin('geoproject/map-editor', [
|
|||
require __DIR__ . '/routes/markers/update.php',
|
||||
require __DIR__ . '/routes/markers/delete.php',
|
||||
require __DIR__ . '/routes/position/update.php',
|
||||
require __DIR__ . '/routes/mapdata/save.php',
|
||||
require __DIR__ . '/routes/image/capture.php',
|
||||
require __DIR__ . '/routes/image/check-flag.php',
|
||||
require __DIR__ . '/routes/image/clear-flag.php',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue