#include "..\script_component.hpp"
// serializes markers on local machine and returns them as array

_markerData = [];

{
	_marker = toArray _x;
	_marker resize 15;
	if ( toString _marker == "_USER_DEFINED #" ) then {
		_marker = _x call FUNC(mapMarkerToString);
		_markerData pushBack _marker;
	};
} forEach allMapMarkers;

_markerData;