"success", "mapId" => $mapId ]); } else { returnJson([ "status" => "error", "message" => "An error occurred while uploading the file" ]); }