Commit graph

56 commits

Author SHA1 Message Date
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
Jackson Rosenthal
332ef3eb6a removed unused dependencies 2022-02-05 22:31:01 -05:00
Jackson Rosenthal
b5a09d502a cleaned up code 2022-02-05 22:03:51 -05:00
Jackson Rosenthal
062cad189e Updated camera movement for nodes,
Zoomed out map for initial load
2022-02-05 22:01:46 -05:00
Jackson Rosenthal
d199b5437d Got nodes to render on map 2022-02-05 20:21:42 -05:00
Jackson Rosenthal
3a06bd0478 Added layers to map, got gestures working 2022-02-05 16:44:39 -05:00
Jackson Rosenthal
090c34f4e9 Added layers to map 2022-02-05 13:26:08 -05:00
Jackson Rosenthal
7445797d46 Added TODO in code to point out areas that need work 2022-02-05 12:32:31 -05:00
Jackson Rosenthal
ed98232263 Migrating to Mapbox API V10 2022-02-04 21:58:00 -05:00
goga
452bf6f6cb show coordinates with geo url to open in other mapping app 2021-03-16 10:04:01 +05:00
goga
53745ca9f5 display timeAgo properly and show coords in users screen 2021-03-16 00:05:28 +05:00
Kevin Hester
4a90bb2fc0 fix various lint warnings 2021-02-21 11:34:43 +08:00
Kevin Hester
122dabefb0 add back a fixed isViewVisible, @vfurman-gh would you mind reviewing? 2021-02-08 12:19:35 +08:00
Vadim Furman
32924bb169 removed isVisiblewq 2021-02-06 22:13:42 -08:00
Vadim Furman
5ef6baef7a Merge 2021-02-06 22:08:49 -08:00
Kevin Hester
4ea44095df 1.1.40 trying to squash native crash in mb via testlab. 2021-02-02 10:47:54 +08:00
Kevin Hester
719bef7889 potential fix for the rare mapbox native crash (use onDestroyView) 2021-02-01 22:54:04 +08:00
geeksville
3e7457245a fix #92 - make all node movements instantly show on map 2020-07-07 14:55:01 -07:00
geeksville
e0b2cda229 stop background geojson updates - it crashes mapbox native 2020-06-12 15:29:42 -07:00
geeksville
b4687b0a2f fix build 2020-06-10 17:19:17 -07:00
geeksville
7c54b897ac oops - my fix for the native mapbox crash was looking at the wrong view 2020-06-10 17:12:57 -07:00
geeksville
12c5edb0b7 Attempt to fix native crash in mapbox
I bet they don't like the view going away
2020-06-10 13:00:55 -07:00