feat(telegram): Mini App estatica para elegir la zona vigilada
La sirve la web en /telegram/ y la abre el bot con un boton web_app (Bot API 6.0).
Mapa con marcador arrastrable y circulo de radio, y devuelve {lat,lon,km} con
WebApp.sendData(). Sin backend: no habla con Meteor ni necesita sesion. Leaflet
vendorizado en public/telegram/vendor para no depender de una CDN.
Sustituye al flujo de cinco pasos del bot de 2018. Detalle en
tcef-notifications/docs/legacy-bot.md §10.
This commit is contained in:
parent
bba2ad5523
commit
23ac2ab99b
8 changed files with 796 additions and 0 deletions
BIN
public/telegram/vendor/images/layers-2x.png
vendored
Normal file
BIN
public/telegram/vendor/images/layers-2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/telegram/vendor/images/layers.png
vendored
Normal file
BIN
public/telegram/vendor/images/layers.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 696 B |
BIN
public/telegram/vendor/images/marker-icon-2x.png
vendored
Normal file
BIN
public/telegram/vendor/images/marker-icon-2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/telegram/vendor/images/marker-icon.png
vendored
Normal file
BIN
public/telegram/vendor/images/marker-icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/telegram/vendor/images/marker-shadow.png
vendored
Normal file
BIN
public/telegram/vendor/images/marker-shadow.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 618 B |
Loading…
Add table
Add a link
Reference in a new issue