merge from mapjs and upload