Commit graph

77 commits

Author SHA1 Message Date
PWRxPSYCHO
017095d171 Working on migrating to OSMdroid from Mapbox 2022-08-23 20:05:19 -04:00
wkawecki
c997440f75 meshtastic#413 Add Satellite Map Layers - correct after remove offline regions 2022-04-22 15:00:17 +02:00
wkawecki
8b5b33bcd5 meshtastic#413 Add Satellite Map Layers 2022-04-22 12:28:04 +02:00
Mike Cumings
df47169997 MapFragment crashes is analytics are not allowed
`binding` is only set in `onCreateView` when analytics are
enabled, leading to a crash in `onViewCreated` when
`binding` - a lateinit var - is attempted to be accessed.
2022-04-08 08:56:30 -07:00
Jackson Rosenthal
448fe99cf5 setup "dev option" for offline maps 2022-03-12 17:09:20 -05:00
PWRxPSYCHO
0ebcf185a8 More tweaks 2022-03-11 10:08:21 -05:00
PWRxPSYCHO
262808e952 Looking into why boolean is not being set 2022-03-10 09:38:56 -05:00
PWRxPSYCHO
e58e12ad5e Added hard-coded strings to translations 2022-03-10 08:52:23 -05:00
PWRxPSYCHO
58a20dc326 Updating UI flow 2022-03-10 08:17:00 -05:00
PWRxPSYCHO
0df9f8f587 Removed un-used UI layout & related code. 2022-03-09 10:24:03 -05:00
PWRxPSYCHO
0cb30171c1 Trying to keep layers persistent across multiple styles 2022-03-09 10:12:53 -05:00
Jackson Rosenthal
85140e486f syncing changes 2022-03-08 14:05:12 -05:00
Jackson Rosenthal
2f945545e5 syncing changes 2022-03-08 13:58:21 -05:00
PWRxPSYCHO
71724a6fd2 Cleaning up some code 2022-03-08 13:49:34 -05:00
PWRxPSYCHO
3fde01588c Working on "view region" flow 2022-03-07 09:44:29 -05:00
PWRxPSYCHO
cc295d0fb3 Simplified some logic 2022-03-07 08:10:06 -05:00
Jackson Rosenthal
217806f93e Simplifying offline flow 2022-03-06 19:52:49 -05:00
Jackson Rosenthal
cee1b0e9f3 Testing map with custom style pack 2022-03-02 18:46:50 -05:00
PWRxPSYCHO
c622b72a53 Fixed some logic paths with the menu 2022-03-02 15:29:14 -05:00
PWRxPSYCHO
ee68c98e98 added logic to validate map naming window 2022-03-02 09:04:31 -05:00
PWRxPSYCHO
50c762d5c8 removed unused imports 2022-03-02 08:15:39 -05:00
PWRxPSYCHO
b490d40d2e Making progress.
Still need to build the manager & clean up code
2022-03-01 09:28:37 -05:00
PWRxPSYCHO
e333bb08e7 Updates from master 2022-02-28 07:52:26 -05:00
Jackson Rosenthal
e6558ac942 Merge remote-tracking branch 'origin/feature/offline-maps' into feature/offline-maps 2022-02-25 22:39:46 -05:00
Jackson Rosenthal
82e43cdf37 minor changes 2022-02-25 22:39:39 -05:00
PWRxPSYCHO
b07eb344d8 Added doc comment 2022-02-24 17:53:40 -05:00
PWRxPSYCHO
da99cee937 Remove layers on download cancel 2022-02-24 08:51:27 -05:00
PWRxPSYCHO
4b1516da29 fixed lat,lon text on dialog window 2022-02-24 08:44:32 -05:00
Jackson Rosenthal
ff751680bb I was never good at trig :'( 2022-02-23 20:22:04 -05:00
Jackson Rosenthal
27ab5c1a26 Testing with a circle region.
Still not sure why the shape morphs
2022-02-23 19:47:30 -05:00
PWRxPSYCHO
8dfcbf5f38 Testing some things out 2022-02-23 16:13:11 -05:00
PWRxPSYCHO
48b6bd1ebf Draw region around center point. (Need to investigate formulas that take the shape of the earth + lat/long not being perfect square into account) 2022-02-23 13:54:48 -05:00
PWRxPSYCHO
cdbd762e27 Hide elements until value exists, added comments 2022-02-23 09:26:56 -05:00
Jackson Rosenthal
cac9c9be7c Able to view mbtile style with test and move map to it 2022-02-22 22:05:26 -05:00
PWRxPSYCHO
d74c122f23 Testing toast and downloading 2022-02-22 21:46:13 -05:00
Jackson Rosenthal
7c4aaecb77 Removed need for lateinit variable 2022-02-20 22:59:29 -05:00
Jackson Rosenthal
4196a5afd8 Updated some logic 2022-02-20 21:32:19 -05:00
Jackson Rosenthal
c2107e5c93 updated menu 2022-02-20 21:06:59 -05:00
Jackson Rosenthal
b1075d3a93 Removed unused imports 2022-02-20 19:55:42 -05:00
Jackson Rosenthal
483360c1bd Updated dialog for URI input 2022-02-20 19:11:03 -05:00
PWRxPSYCHO
a579ce76fc Added dialog for download. (investigating other options) 2022-02-18 10:58:59 -05:00
Jackson Rosenthal
dcad0f3ad9 updated marker image & testing some features 2022-02-17 17:43:06 -05:00
Jackson Rosenthal
068f2ba8b2 Added "download button" with icon and updated onMapTouch 2022-02-17 17:12:17 -05:00
PWRxPSYCHO
1ee500b14d Added TODO list for design 2022-02-17 16:12:12 -05:00
PWRxPSYCHO
34a3900936 Making slow progress 2022-02-17 15:22:22 -05:00
PWRxPSYCHO
23c748ddc2 Making some changes.
There is a TODO list I am working through
2022-02-17 11:41:05 -05:00
Jackson Rosenthal
2730641d92 Doing some rough testing 2022-02-17 10:16:58 -05:00
PWRxPSYCHO
ffe66ec81c Fixed issue with adding multiple layers instead of moving touch position 2022-02-16 13:56:17 -05:00
PWRxPSYCHO
955d1de0c8 Added long click listener to add new "point" to map for offline region downloading
!WIP
2022-02-16 10:22:59 -05:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00