Commit graph

304 commits

Author SHA1 Message Date
Dan Paulat
aec52f940d Open alert dialog when an alert is selected on the map 2024-08-04 23:05:02 -05:00
Dan Paulat
efb03ab9cc Handle mouse button press of alert 2024-08-03 23:25:39 -05:00
Dan Paulat
2ab8f3a77a Cache alert hover text 2024-08-03 23:25:39 -05:00
Dan Paulat
f9bb3e07c3 Removing unused eventEnd variable 2024-08-03 23:25:39 -05:00
Dan Paulat
a219b1eca4 Use new alert layers 2024-08-03 23:25:39 -05:00
Dan Paulat
204e2e8a0e Add hover callback to alert layer 2024-08-03 23:25:39 -05:00
Dan Paulat
1bf93c6318 Initialize geoLines with existing alert segments on layer creation 2024-08-03 23:25:39 -05:00
Dan Paulat
09cdb03699 Don't add an alert segment twice 2024-08-03 23:25:39 -05:00
Dan Paulat
6097b47b7a Update alert lines when a segment is updated 2024-08-03 23:25:39 -05:00
Dan Paulat
7659ef0906 Properly use rgba32f_pixel_t 2024-08-03 23:25:39 -05:00
Dan Paulat
c7023f9cd2 Rename lines to geoLines as appropriate 2024-08-03 23:25:39 -05:00
Dan Paulat
0b64a8eae3 Enable transparency for all draw layers 2024-08-03 23:25:39 -05:00
Dan Paulat
37a1316e44 Don't require FinishLines when adding new lines 2024-08-03 23:25:39 -05:00
Dan Paulat
4410b854c4 Add animation to new alert layer 2024-08-03 23:25:39 -05:00
Dan Paulat
c60f10707f Don't differentiate borders 2024-08-03 23:25:39 -05:00
Dan Paulat
b2d648e960 Add alert layer lines 2024-08-03 23:25:39 -05:00
Dan Paulat
0fa3f2162b Add new AlertLayerHandler 2024-08-03 23:25:38 -05:00
Dan Paulat
044e6d6885 Rename existing AlertLayer to AlertLayerOld, prepare AlertLayer skeleton 2024-08-03 23:25:38 -05:00
Dan Paulat
2e1b537c87 Use a weak pointer to store picked event handler
Fixes crash while item is picked and changing layers
2024-08-03 23:22:26 -05:00
Dan Paulat
daf1ff39e5 Destroy layer after deinitialize call is complete
MapLibre seems to relatively consistently not destroy layers the first time layers are removed and re-added
2024-06-26 22:49:44 -05:00
Dan Paulat
45a4d29795 Use custom map style from settings 2024-06-21 23:36:07 -05:00
Dan Paulat
9ce33ed953 Update for Mapbox style layer names 2024-06-20 00:07:30 -05:00
Dan Paulat
e1d61fccfa Catch exceptions in background threads 2024-06-15 23:44:33 -05:00
Dan Paulat
41d47878e3 Fix middle click selecting the nearest radar site
Fixes #216
2024-05-30 20:46:55 -05:00
Dan Paulat
37a850a778 GL color buffer should be cleared at the start of the frame 2024-05-26 23:11:02 -05:00
Dan Paulat
8bd6838438 Don't process a file update for a previously selected radar site 2024-05-24 23:13:33 -05:00
Dan Paulat
336eb66321 Middle click selects nearest WSR-88D
Resolves #216
2024-05-24 23:12:24 -05:00
Dan Paulat
49800c014b Trim spaces from API key before using
Fixes #211
2024-05-21 23:12:27 -05:00
Dan Paulat
fb4e111f84 Handle 8-bit ASCII characters in product units >= 128 2024-05-01 22:41:02 -05:00
Dan Paulat
b56c43197f Ignore recursive paint events 2024-05-01 22:40:16 -05:00
Dan Paulat
3df6363211 Display the selected speed units for level 2 data 2024-05-01 00:24:36 -05:00
Dan Paulat
012dc10204 Update map widget when modifiers are released after updating mouse coordinates 2024-04-21 00:31:46 -05:00
Dan Paulat
15beb9436d Default geo_texture2d displayed parameter to true when not used 2024-04-21 00:20:00 -05:00
Dan Paulat
f4bc2572d2 Display mouse cursor icon on maps when Ctrl is held 2024-04-21 00:12:19 -05:00
Dan Paulat
9cb29c6b9a Add icon visibility method to geo icons, update only dirty icons 2024-04-20 00:34:50 -05:00
Dan Paulat
fcf6ef800b Add map center icon to overlay layer 2024-04-20 00:32:48 -05:00
Dan Paulat
589eff9882 Handle hotkeys across multiple map panes 2024-04-12 22:59:49 -05:00
Dan Paulat
7e99b5fb00 Handle held hotkeys on frame update (paintGL) rather than on key press 2024-04-12 00:54:39 -05:00
Dan Paulat
dcaba52db7 Hotkey repeat handling update 2024-04-11 23:57:12 -05:00
Dan Paulat
399894f2db Add hotkey handling to map widget 2024-04-11 01:04:50 -05:00
Dan Paulat
d3375de968 Display time zone according to settings 2024-03-29 22:54:02 -05:00
Dan Paulat
5fb9dc6a5f Display clock format defined in settings on map 2024-03-29 01:06:28 -05:00
Dan Paulat
0952c0f90c Support for Echo Tops
Closes #154
2024-03-11 23:20:45 -05:00
Dan Paulat
35bd2433a7 Update map immediately if map logo or attribution is toggled 2024-03-08 00:55:55 -06:00
Dan Paulat
931b5d8481 Add visibility to icon draw items 2024-03-08 00:45:06 -06:00
Dan Paulat
d905abd3e7 Map provider test fixes 2024-03-06 23:54:27 -06:00
Dan Paulat
54e85e981b Remove "Improve this map" where HTML links cannot be shown 2024-03-05 23:48:15 -06:00
Dan Paulat
8af480198b Add additional Mapbox map styles from the Mapbox gallery 2024-03-05 23:35:30 -06:00
Dan Paulat
074a39d224 Add map logo to map 2024-03-05 22:56:27 -06:00
Dan Paulat
2a8a16e79f Add map attribution to display 2024-03-02 23:41:37 -06:00