Commit Graph

80 Commits (master)

Author SHA1 Message Date
Gordon Williams c01e40d960 tweaks for offscreen GPS 2025-06-03 17:00:07 +01:00
Gordon Williams 316f59c5fe Much improved icons with a white border for better visibility 2025-06-03 16:53:35 +01:00
Gordon Williams 4828624aa5 openstmap: Added 'Autoscroll' option to automatically scroll the map when GPS location moves off it, also add better docs 2025-06-03 16:21:26 +01:00
Gordon Williams f23a8c3975 openstmap 0.33: Map zoom by tapping is now only when tapping at each corner (helps with accidental zooming)
When GPS location is offscreen, draw a blue circle showing the direction to scroll
2025-06-03 15:30:23 +01:00
Gordon Williams 72fb9d5861 update deprecated recorder usage 2025-05-24 19:44:20 +01:00
Gordon Williams fe11fd7cae openstmap 0.32: Move to non-deprecated track drawing using the recorder library
+      Add option to hide widgets
2025-05-24 19:41:02 +01:00
Gordon Williams 4326c5b60c OpenStMap - display correct map size in bytes
Ensure BPP selection works ok on mobile, and scale maps correctly on mobile too (1bpp tile size on mobile is 512px, but 256 on desktop!?)
2025-05-20 13:22:24 +01:00
Gordon Williams 516b74f051 openstmap - allow usage of black&white map layer 2024-12-11 16:24:49 +00:00
Anton cad2ffe283 Bump version for all apps with fixed undefined variables 2024-03-13 11:56:27 +01:00
Anton a468292536 Fix apps with undefined variables 2024-03-13 11:51:40 +01:00
Gordon Williams 69071891f1 Tweaks to speed up track rendering 2024-02-02 09:37:00 +00:00
Erik Andresen d9364b32a6 openstmap: Update ChangeLog, metadata.json 2024-01-31 19:08:34 +01:00
Erik Andresen 7af324f2b4 Revert "openstmap menu: move exit to top"
This reverts commit c4631cfe5f.
2024-01-31 19:07:42 +01:00
Erik Andresen fa433a4767 openstmap interface
move diameter to radius conversion into toBounds()
2024-01-30 07:30:11 +01:00
Erik Andresen d007f82a19 openstmap/interface: showLoadedMaps() adjustments
Load leaflet interface after all mapps are loaded
2024-01-29 21:25:03 +01:00
Erik Andresen e9f3f65728 openstmap interface: Fix show maps after delete 2024-01-29 19:35:38 +01:00
Erik Andresen c4631cfe5f openstmap menu: move exit to top 2024-01-27 11:10:54 +01:00
Erik Andresen 56b39fead9 openstmap: Fix rounding errors 2024-01-27 10:16:06 +01:00
Erik Andresen e96ffad55f openstmap: fix if no map
Display message if no map is installed
2023-11-30 21:00:05 +01:00
Gordon Williams acd01ce4bc
Update apps/openstmap/interface.html
Co-authored-by: Rob Pilling <robpilling@gmail.com>
2023-11-24 08:31:12 +00:00
Gordon Williams fcebbf3ef4 Added Utils.readStorageJSON and relaxed JSON parser, and swap all interface.html over
to using it.

This allows Bangle.js 2v20 (or cutting edge) and later to store a relaxed
'JSON' on internal storage which (while still normal JS) is smaller and faster
(and preserves unicode better)

See https://github.com/espruino/Espruino/issues/2429
2023-11-23 12:52:48 +00:00
Gordon Williams 8a4a2cee5a recorder/openstmap 0.31: Ensure that background-drawn tracks can get cancelled, and draw less at a time to make updates smoother
plotTrack now draws the current track even if you're not actively recording
2023-10-09 12:50:30 +01:00
Gordon Williams 614c003eca osm 0.25: Enable scaled image filtering on 2v19+ firmware 2023-08-07 14:30:30 +01:00
Gordon Williams de1287a685 allow 8bpp maps on Bangle.js 2 2023-08-07 12:22:40 +01:00
Pavel Machek ec836fca7e Allow zooming map in/out by clicking.
By simply clicking on screen instead of going to menu to zoom in/out,
navigation can be much quicker.
2023-08-02 13:50:49 +02:00
Erik Andresen 4777d98c10 openstmap: Bugfix: Enable Compass if needed 2023-07-24 11:33:10 +02:00
Erik Andresen ceddc01697 openstmap: updated Changelog 2023-07-22 20:12:18 +02:00
Erik Andresen 90bd7dcdb7 openstmap: move comment 2023-07-22 20:09:21 +02:00
Erik Andresen 2af98c7347 openstmap: replace direction icon 2023-07-22 20:06:53 +02:00
Erik Andresen a560a60423 openstmap location pointer
Replace position marker with location+direction pointer
2023-07-22 09:47:07 +02:00
Erik Andresen 1022b623d4 openstmap changes
- clear overlay only once
- Add exit to menu
2023-07-17 17:48:20 +02:00
Erik Andresen 696623c659 openstmap: current position overlay
- Draw a current position marker (Bangle.js 2 only)
- Enable/Disable previous position marker in new setting "Draw cont. position"
2023-07-14 22:36:38 +02:00
Gordon Williams e6443ba9a3 0.20: Make Satellite counter widget 24px wide (was 48)
Move 'Center GPS' to the top of the menu
      If 'Recorder' app installed, add a 'Record' menu item
2023-07-12 14:30:45 +01:00
Erik Andresen 60658a7ad3 openstmap: Fix gps widget check 2023-07-04 21:58:04 +02:00
Erik Andresen 4a727df891 openstmap: Remember latitude, longitude & scale
see #2844
2023-07-04 21:46:16 +02:00
Gordon Williams 0662bb44f5 darken dithered osm images 2023-06-30 16:58:02 +01:00
Gordon Williams 1dad92ae0b fix lint error 2023-06-30 16:46:50 +01:00
Gordon Williams ded2107f61 Improved OpenStMap image processing with sharpening - we now have a separate test file so we can try different setups more easily 2023-06-30 16:41:58 +01:00
Erik Andresen bf58db6a31 openstmap: sort maps by scale desc
This results in the map with the highest resolution (lowest scale) to be
drawn last
2023-06-28 11:08:19 +02:00
Gordon Williams 397c16757c Attempt at fixing openstreetmap map when viewed on mobile (I find going portrait/landscape was needed previously) 2023-05-17 10:38:21 +01:00
Gordon Williams c7d60250a6 Misc recorder/openstmap tweaks 2023-04-25 10:09:07 +01:00
Pavel Machek 2f53b732bc openstmap: We updated changelog, so increase version. 2023-03-03 17:54:53 +01:00
Pavel Machek c18d1d4a42 openstmap: fix operation without waypoints, increase version 2023-03-03 17:50:48 +01:00
Pavel Machek e79c95022a openstmap: display waypoints
If waypoints module is available, display the waypoints on the
map. Also update the documentation and fix some english in the
documentation.
2023-03-02 00:26:50 +01:00
Gordon Williams 546cfa7996 fix grey maps 2022-12-01 13:47:48 +00:00
Gordon Williams dda81fe199 fix alignment of non-7x7 maps, non-flickery uploads, and allow huge (1MB) map uploads 2022-11-30 16:54:27 +00:00
Gordon Williams eba77c8a99 openstmap 0.15: Make track drawing an option (default off) 2022-11-28 11:16:36 +00:00
Gordon Williams a9b12f0dba misc fixes/tweaks for map rendering 2022-11-25 17:05:30 +00:00
Gordon Williams e5894c36af oops - forgotten commit 2022-11-25 16:08:40 +00:00
Gordon Williams 459a643c87 openstmap
Added ability to upload multiple sets of map tiles
      Support for zooming in on map
      Satellite count moved to widget bar to leave more room for the map
2022-11-25 15:34:51 +00:00