Closed RV88470 closed 5 months ago
Hi, You would have to edit the livemap.js on the local file system on the TTGO and remove this line: map.addControl(new L.Control.Button([ { position: 'topleft', text: 'đź”™', href: 'index.html' } ]));
Best, Hans
On 9 Jul 2023, at 00:26, RV88470 @.***> wrote:
Hello, how to remove the "BACK" button from the Livemap screen? http://rdzsonde.local/livemap.html http://rdzsonde.local/livemap.html THANKS
— Reply to this email directly, view it on GitHub https://github.com/dl9rdz/rdz_ttgo_sonde/issues/367, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRI52DBNST7HN3FU3AECI3XPHNC3ANCNFSM6AAAAAA2DC7GXU. You are receiving this because you are subscribed to this thread.
Thank you very much for your response and help. I can edit the file, but when I want to save the changes, I get this error message :
ERROR Something went wrong (probably ESP32 out of memory). Uploaded file is empty.
J'utilise ce récepteur : (https://fr.aliexpress.com/item/32872078587.html?spm=a2g0o.order_list.order_list_main.16.48425e5bQRBfFx&gatewayAdapt=glo2fra) It seems that the memory is insufficient
Beautiful day Hervé
I assume you are trying to modify the file via edit.html?file=... The file is too large for this method.
You need a different approach to edit the file. Many possibilities
curl -v --form file=@livemap.js http://rdzsonde.local/file/
scripts/ttgoconfig put file livemap.js
(livemap.js needs to be in the current directory)Thank-you for your prompt response. I will try that soon. Good Sunday
Le dim. 9 juil. 2023 Ă 11:17, Hans P. Reiser @.***> a Ă©crit :
I assume you are trying to modify the file via edit.html?file=... The file is too large for this method.
You need a different approach to edit the file. Many possibilities
- Use something like curl http://rdzsonde.local/file/ --upload-file livemap.js (not sure about the exact parameters, no device at hand to test)
- Use the ttgoconfig script, scripts/ttgoconfig put file livemap.js (livemap.js needs to be in the current directory)
- Upload the whole file system using either the Arduino tool or the platform.io tool (see wiki how to use)
— Reply to this email directly, view it on GitHub https://github.com/dl9rdz/rdz_ttgo_sonde/issues/367#issuecomment-1627657477, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBEUECG6Z464DSJXLFRAK3LXPJZLFANCNFSM6AAAAAA2DC7GXU . You are receiving this because you authored the thread.Message ID: @.***>
Hello, how to remove the "BACK" button from the Livemap screen? http://rdzsonde.local/livemap.html THANKS