Map issue
Map issue
I am currently testing the new feature in beta version of Airmanager with rotating maps.
This new feature works fine , but my Airmanager crashes entirely when NOT using a map source.
So if i use f.i. navmap = map_add(-60,0,663,537, "OSM_HUMANITARIAN",12) no issues , but when i use
navmap = map_add(-60,0,663,537,nil,12) Airmanager crashes to desktop right after starting the instrument.
This also occurs in the procuction version of AM.
For my intrument i do not want a map but just black background with data.
This new feature works fine , but my Airmanager crashes entirely when NOT using a map source.
So if i use f.i. navmap = map_add(-60,0,663,537, "OSM_HUMANITARIAN",12) no issues , but when i use
navmap = map_add(-60,0,663,537,nil,12) Airmanager crashes to desktop right after starting the instrument.
This also occurs in the procuction version of AM.
For my intrument i do not want a map but just black background with data.
- Keith Baxter
- Posts: 4674
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Map issue
Hi,
A nil map works in AM4.1 (Beta 40) Just retested this dev instrument.
Map crashes are normal due to loops.
Keith
A nil map works in AM4.1 (Beta 40) Just retested this dev instrument.
Code: Select all
basic_map= map_add(350,105,870,690,nil, 10)
airplane_icon = img_add("aircraft_small_user.png", 760, 425, 50, 50)
airplane_rose = img_add("ac_roes.png", 585, 250, 400, 400)
Map crashes are normal due to loops.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
- Keith Baxter
- Posts: 4674
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Map issue
Hi,
I did experience a CTD when changing map styles from one type to nil. However I can not consistently reproduce.
Have you got "Casch of OpenStreetMao data" checked in <Settings> ?
Keith
I did experience a CTD when changing map styles from one type to nil. However I can not consistently reproduce.
Have you got "Casch of OpenStreetMao data" checked in <Settings> ?
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Map issue
Yes i have caching set to on.
It seems if i run the instrument once with any NOT nil source, stop the instrument and then set the map source to nil again, it does not crash?!
Weird, not sure if it does not ctd anymore, but it is more stable.
It seems if i run the instrument once with any NOT nil source, stop the instrument and then set the map source to nil again, it does not crash?!
Weird, not sure if it does not ctd anymore, but it is more stable.
Re: Map issue
Hi,
Found and fixed, will be part of upcoming AM 4.1.4 release.
Thanks for pointing this out,
Corjan
Found and fixed, will be part of upcoming AM 4.1.4 release.
Thanks for pointing this out,
Corjan
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Map issue
Another map issue 4.1.3 - can be replicated with the Aspen GPS.
When not at top left, the map is offset, dragging the instrument to the right of the panel eventually results in a blank map.
(totally psyched for rotaing maps!)
I'll post a video if needed
When not at top left, the map is offset, dragging the instrument to the right of the panel eventually results in a blank map.
(totally psyched for rotaing maps!)
I'll post a video if needed
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Map issue
Yes a video please, because I have no idea what you mean
Re: Map issue
The update was available allready!
Just installed it; no more crashes!!
Great work guys.
thanks
Just installed it; no more crashes!!
Great work guys.
thanks
Re: Map issue
Been using the maps for a while now and they worked fine until the latest AM update. The map LUA script works fine in edit mode but when I place it on a panel it MUST be located in the upper left corner of the panel or I get nothing. A full panel map works fine...
Bug or something I need to add to the script?
John
Bug or something I need to add to the script?
John