I use MOOSE to spawn airplanes (see code below). In the template groups that I use, I selected 'HIDDEN ON MAP'. However, when the airplanes spawn, they are visible on the F10 map. I reported this to the MOOSE developers, but they say it's a DCS bug.
 
	 
 
local tankers = SET_GROUP:New():FilterPrefixes("Tanker"):FilterStart()
tankers:ForEachGroup(
	function(tanker)
		SPAWN:New(tanker:GetName())
			:InitRepeatOnEngineShutDown()
			:Spawn(1)
	end
)
	 
 
A2A_GCICAP = AI_A2A_GCICAP:New("A2A EW", "A2A CAP group", "A2A CAP area", 3, 6000, 30000, 60000)
2A_GCICAP:SetDefaultTakeoffFromParkingHot()
A2A_GCICAP:SetDefaultLandingAtEngineShutdown()
A2A_GCICAP:SetDefaultOverhead(2)
A2A_GCICAP:SetTacticalDisplay(false)