AM4.2 b28 Map cause crash

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Post Reply
Message
Author
Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

AM4.2 b28 Map cause crash

#1 Post by Mickolodias »

Seems some of the map points are causing an issue for me.

Anyone else get a crash running the below:
(running the latest plugin, AM4.2b28)

Code: Select all

NAVMAP = map_add(62,110,456,600,nil, 10)

------- This line is fine
map_layer_airp_icao	= map_add_nav_txt_layer(NAVMAP, "AIRPORT", "ICAO", "size:14; color:black; halign:centre;" , -20, 15, 50, 20)

------- These lines  cause crash
map_layer_waypoint_icao	= map_add_nav_txt_layer(NAVMAP, "WAYPOINT", "ICAO", "size:14; color:black; halign:centre;" , -20, 15, 50, 20)
--map_layer_ndb_icao	= map_add_nav_txt_layer(NAVMAP, "NDB", "ICAO", "size:14; color:black; halign:centre;", -20, 20, 40, 20)


------- Same with Images. First one is fine. Others cause a crash
--map_layer_airp		= map_add_nav_img_layer(NAVMAP, "AIRPORT","map_airport.png",	-20, -20, 40, 40)

--map_layer_wp		= map_add_nav_img_layer(NAVMAP, "WAYPOINT", "map_waypoint.png", -9, -9, 18, 18)
--map_layer_ndb		= map_add_nav_img_layer(NAVMAP, "NDB", "map_ndb.png",		-20, -20, 40, 40)
The crash happens as soon as I start the instrument, don't even need to be in the sim, just in the main menu.
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

Post Reply