Commit Graph

15 Commits (e112d08f5aee25d785a4a57b725091093a7cf402)

Author SHA1 Message Date
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 56b39fead9 openstmap: Fix rounding errors 2024-01-27 10:16:06 +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 de1287a685 allow 8bpp maps on Bangle.js 2 2023-08-07 12:22:40 +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
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 a9b12f0dba misc fixes/tweaks for map rendering 2022-11-25 17:05:30 +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