Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADSB, no map display #2203

Open
bazineta opened this issue Jul 8, 2024 · 0 comments
Open

ADSB, no map display #2203

bazineta opened this issue Jul 8, 2024 · 0 comments

Comments

@bazineta
Copy link

bazineta commented Jul 8, 2024

Using the compiled ARM Mac binary, 7.21.4, maps other than the street maps do not display within the ADS-B demodulator. The following appears in a debug trace:

2024-07-06 14:02:41.778 (W) qrc:/map/map_6.qml:66:17 Parameter "mouse" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
2024-07-06 14:02:41.778 (W) qrc:/map/map_6.qml:316:29 Parameter "mouse" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
2024-07-06 14:03:16.129 (W) QGeoTileRequestManager: Failed to fetch tile (9,25,6) 5 times, giving up. Last error message was: 'Error transferring https://maps.wikimedia.org/osm-intl/6/9/25.png - server replied: '
2024-07-06 14:03:16.145 (W) QGeoTileRequestManager: Failed to fetch tile (9,24,6) 5 times, giving up. Last error message was: 'Error transferring https://maps.wikimedia.org/osm-intl/6/9/24.png - server replied: '

When I manually test the URLs listed, Wikimedia issues the following error:

Error: 403, Forbidden: Map tiles are restricted to Wikimedia & affiliated sites only. See https://wikitech.wikimedia.org/wiki/Maps/External_usage if you believe your usage supports the Movement. 

Maps within the Map feature do work correctly; it's just maps other than street maps in the ADS-B demodulator that do not.

As for the first message regarding deprecation of parameter injection, believe that to be this here, starting on line 66 of map6_6.qml:

                onClicked: {
                    // Unhighlight current aircraft
                    guiPtr.clearHighlighted()
                    mouse.accepted = false
                }

which in current Qt is typically along the lines of:

                onClicked: (mouse) => {
                    // Unhighlight current aircraft
                    guiPtr.clearHighlighted()
                    mouse.accepted = false
                }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant