Commit graph

219 commits

Author SHA1 Message Date
Dan Paulat
12833202b7 Use geometry shaders for icon and polygon thresholds, fix threshold method to map distance for placefile text 2023-08-18 00:42:55 -05:00
Dan Paulat
0c5a504ad5 Placefile polygon Linux fixes 2023-08-11 08:36:08 -05:00
Dan Paulat
cdef5a9938 Placefile polygon rendering 2023-08-11 00:45:42 -05:00
Dan Paulat
f0c2f8eec0 Correct text not following map rotation 2023-08-06 22:49:18 -05:00
Dan Paulat
eaf5089526 Ensure placefile text IDs are unique, ensuring correct text placement 2023-08-03 23:39:10 -05:00
Dan Paulat
6e42001281 Set OpenGL blend mode for placefile transparency 2023-08-03 23:38:27 -05:00
Dan Paulat
ec946b71f4 Respect alpha channel value for warning boxes using line-opacity property 2023-08-03 23:20:23 -05:00
Dan Paulat
6607eb0e56 Fix transparency in color table layer and radar product layer 2023-08-03 22:40:20 -05:00
Dan Paulat
95f4d03c7b Fix map layer update on placefile rename 2023-08-02 23:25:38 -05:00
Dan Paulat
117a473689 Separate placefiles into their own layers
- Placefile rename is partially
- Texture repack might be broken
2023-08-02 22:39:19 -05:00
Dan Paulat
bc1bf8cef6 Fix rendering of placefile icons, now works on one map 2023-08-02 00:02:33 -05:00
Dan Paulat
f074e487de First attempt at rendering placefile icons, does not work yet 2023-08-01 00:30:40 -05:00
Dan Paulat
c6801722a1 Always resize ImGui windows when rendering placefile text to avoid clipping 2023-07-25 23:21:34 -05:00
Dan Paulat
6dedce5089 Update placefile view when placefiles are edited from settings 2023-07-25 23:16:36 -05:00
Dan Paulat
0064733679 Placefile fixes for Linux/gcc 2023-07-23 08:45:21 -05:00
Dan Paulat
8be32a8998 Render hover text in monospace
- TODO: Configure separate font size for monospace
2023-07-21 22:34:19 -05:00
Dan Paulat
48d71cc14d Placefile text statement support
- Merged place and text
- Todo: Custom fonts not yet supported
- Todo: End statements sometimes appear after "Text" or other items
- Todo: Support "Title" statement
2023-07-21 00:26:42 -05:00
Dan Paulat
9f5de14f6b Render placefile Place statement 2023-07-20 23:40:32 -05:00
Dan Paulat
1c39464228 Extract utility geographic and maplibre functions 2023-07-20 23:12:36 -05:00
Dan Paulat
1a411af3bc Add placefile layer with text rendering 2023-07-19 23:27:37 -05:00
Dan Paulat
5612806e07 Update layer ordering definitions for MapTiler updates 2023-07-14 00:23:21 -05:00
Dan Paulat
d694764fa1 Map layer name comparison should be case insensitive 2023-07-14 00:22:32 -05:00
Dan Paulat
0902f183fc Connect radar product view signals in layer constructor, rather than initialize
If the radar product view updates at precisely the right time, color
tables might not be initialized properly. The Initialize function would
not have been able to properly update color tables, and the view signal
would be emitted prior to the signals and slots being connected.
2023-07-11 23:25:39 -05:00
Dan Paulat
fc194e0f17 Don't display a requested product if a different product has since been selected 2023-06-23 22:16:12 -05:00
Dan Paulat
a268ca04e6 Asynchronous threads should execute in thread pools owned by parents
- Fixes #51
2023-06-21 23:34:49 -05:00
Dan Paulat
6000abdeb3 Save map style in settings
- Fixes #50
2023-06-21 23:34:49 -05:00
Dan Paulat
16e3d1533f Don't update a radar product view when the timeline manager will issue a subsequent update 2023-06-19 22:58:08 -05:00
Dan Paulat
bce4c1bfb2 Fix switching radar sites in archive view
- Reverts 4e5a28f, other changes have now made this unnecessary
- Switching sites while animating, in archive, or live all work properly
2023-06-19 21:49:50 -05:00
Dan Paulat
7d74a0e312 Add additional MapTiler styles, including dark styles 2023-06-17 22:45:38 -05:00
Dan Paulat
4e5a28fcab Auto update should be re-enabled when switching radar sites
- Otherwise, the new site may not display any data
2023-06-10 23:47:42 -05:00
Dan Paulat
27958415c5 Synchronize radar sweep updates to timeline manager 2023-06-08 23:07:52 -05:00
Dan Paulat
6b179fe35c Emit signals when a sweep is not updated (with reason) 2023-06-07 23:07:01 -05:00
Dan Paulat
ea6134acea emit keyword is incompatible with oneTBB 2023-06-05 21:53:24 -05:00
Dan Paulat
1b49e317e4 Fix level 2 display 2023-05-30 23:28:02 -05:00
Dan Paulat
d44075a5fd Don't disable loading of products when navigating the timeline, just don't select it 2023-05-29 14:48:54 -05:00
Dan Paulat
4963add9cc Enable/disable auto update of radar data based on timeline selection 2023-05-29 13:37:21 -05:00
Dan Paulat
63a746d25f Map widget time selection 2023-05-24 00:02:00 -05:00
Dan Paulat
53c2f29785 Fix display scaling for custom map widgets 2023-05-11 23:03:08 -05:00
Dan Paulat
1c1864e45d GCC fixes for MapProvider iterator 2023-04-30 18:38:48 -05:00
Dan Paulat
98ab8904be Update MapTiler layer ordering 2023-04-30 17:09:29 -05:00
Dan Paulat
e5ffe16efb Add map style combo box 2023-04-30 01:05:33 -05:00
Dan Paulat
8e8567a48f Updating MapLibre Native to the latest version (2023-04-28) 2023-04-29 01:44:23 -05:00
Dan Paulat
271756bba9 Integrating map provider into existing map widget 2023-04-29 01:05:10 -05:00
Dan Paulat
ee99b51003 Add map provider helper functions 2023-04-29 00:46:02 -05:00
Dan Paulat
023688b746 General GCC compilation fixes 2023-04-17 18:37:23 -05:00
Dan Paulat
a3afd71f03 "this" must be explicit in lambda capture 2023-04-17 18:29:37 -05:00
Dan Paulat
31db9a4315 GCC doesn't implement <format> yet, use fmt 2023-04-17 18:24:50 -05:00
Dan Paulat
593010acc2 Use HH date library when not using MSVC 2023-04-17 18:16:36 -05:00
Dan Paulat
509fc76653 Guard pragma warning statements with ifdef msvc 2023-04-16 01:02:56 -05:00
Dan Paulat
8250b09574 Adding product name to display 2023-04-13 21:39:59 -05:00