mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Map updates:
Allow selection of which device to tune to frequency. Support tuning of multiple frequencies per map item. Update maplibre to maplibregl.
This commit is contained in:
@@ -1189,11 +1189,12 @@ void MapGUI::applyMap2DSettings(bool reloadMap)
|
||||
if (!m_settings.m_mapBoxStyles.isEmpty())
|
||||
parameters["mapboxgl.mapping.additional_style_urls"] = m_settings.m_mapBoxStyles;
|
||||
}
|
||||
if (m_settings.m_mapProvider == "maplibre")
|
||||
if (m_settings.m_mapProvider == "maplibregl")
|
||||
{
|
||||
parameters["maplibre.access_token"] = m_settings.m_mapBoxAPIKey;
|
||||
parameters["maplibregl.settings_template"] = "maptiler"; // Or "mapbox"
|
||||
parameters["maplibregl.access_token"] = m_settings.m_maptilerAPIKey;
|
||||
if (!m_settings.m_mapBoxStyles.isEmpty())
|
||||
parameters["maplibre.mapping.additional_style_urls"] = m_settings.m_mapBoxStyles;
|
||||
parameters["maplibregl.mapping.additional_style_urls"] = m_settings.m_mapBoxStyles;
|
||||
}
|
||||
if (m_settings.m_mapProvider == "osm")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user